Closed yhatt closed 1 year ago
Marpit v2.5.0
Other (fill out in the environment field)
Use paginate: hold at first page
paginate: hold
Render the page number "1" for every pages
Render the page number "0" for every pages
paginate: hold is a bit rough because it was not originally proposed in #218 and implemented as a result of working at #359. Probably we should render the correct page number with Math.max(1, n).
Math.max(1, n)
Version of Marp Tool
Marpit v2.5.0
Operating System
Other (fill out in the environment field)
Environment
How to reproduce
Use
paginate: hold
at first pageExpected behavior
Render the page number "1" for every pages
Actual behavior
Render the page number "0" for every pages
Additional information
paginate: hold
is a bit rough because it was not originally proposed in #218 and implemented as a result of working at #359. Probably we should render the correct page number withMath.max(1, n)
.