maaslalani/slides

Metadata breaks when `paging` is just `%d / %d`

franalbani opened this issue · 1 comments

Description

Metadata gets interpreted as a slide when the paging field starts directly with %d (and other chars).

How to Reproduce

  1. Put this at the top of some p.md file:
---
author: You
date: 2023 07 06
paging: %d / %d
---
  1. Save it and run it with slides p.md
  2. You should see author: You date: 2023 07 06 paging: %d / %d as the first slide, and the default Slide 1 / 1 at the bottom.
  • OS: Arch Linux
  • slides Version: 0.9.0-2

workaround: use double-quotes: "%d / %d"