Files
pandoc/test/command/10940.md
T
John MacFarlane 5727e10827 Markdown reader: Add a syntax for resetting example list counter.
This is needed often at the beginning of a chapter.

Closes #10940.
2026-08-24 12:07:19 -07:00

319 B

% pandoc -t plain
# Chapter one

(@foo) an example list.
(@) second item.

# Chapter two

(1@bar) reset the counter to one.
(@) another.

Foo is (@foo) and bar is (@bar).
^D
Chapter one

(1) an example list.
(2) second item.

Chapter two

(1) reset the counter to one.
(2) another.

Foo is (1) and bar is (1).