mfontanini / presenterm

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

Allow making front matter strict parsing optional #190

Closed mfontanini closed 9 months ago

mfontanini commented 9 months ago

This allows setting the strict_front_matter_parsing option to false in the config file, which in turn allows unknown fields in the front matter. The solution is kind of crappy as I can't keep this optional without keeping the nice error message in the strict case (e.g. expected one of a, b, c).

Fixes #189