mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.33k stars 32 forks source link

Front matter block causing error on Windows #159

Closed akarel-mb closed 9 months ago

akarel-mb commented 9 months ago

On a Windows machine (Windows 11), if I include the yaml matter block and run presenterm [path] I get the following error:

invalid presentation metadata: deserializing from YAML containing more than one document is not supported

If I remove the block, the presentation renders as expected.

The following works...

Header
---

This is a test.

<!-- end_slide -->

But this does not...

---
title: Test
author: Test
---

Header
---

This is a test.

<!-- end_slide -->
akarel-mb commented 9 months ago

Forgot to add, I'm using presenterm version 0.4.1

mfontanini commented 9 months ago

Thanks for the report! This is now fixed in master.