mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 20:07:22 +00:00
cd460ec9c7
Starting with pandoc 3.1.12, unnumbered sections incremented the section number. Closes #9516.
330 B
330 B
% pandoc --number-sections
# One {-}
# Two
# Three {-}
# Four
^D
<h1 class="unnumbered" id="one">One</h1>
<h1 data-number="1" id="two"><span
class="header-section-number">1</span> Two</h1>
<h1 class="unnumbered" id="three">Three</h1>
<h1 data-number="2" id="four"><span
class="header-section-number">2</span> Four</h1>