Skip to content
Discussion options

You must be logged in to vote

Here lies the problem. How do I use MARP to reproduce the <body> field and insert the counter-reset: fig-counter command?

Marp generally cannot define the style for <body> directly from Marp's Markdown or CSS.

If that were allowed, it would mean being able to modify styles for the outside of the slide deck, which could potentially break the website or application where Marp is embedded.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@yhatt
Comment options

yhatt Aug 1, 2025
Maintainer

@cunhapaulo
Comment options

@yhatt
Comment options

yhatt Aug 1, 2025
Maintainer

@yhatt
Comment options

yhatt Aug 1, 2025
Maintainer

@cunhapaulo
Comment options

Answer selected by cunhapaulo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants