Files
John MacFarlane cd460ec9c7 Fix regression in section numbering.
Starting with pandoc 3.1.12, unnumbered sections incremented
the section number.

Closes #9516.
2024-02-28 11:31:05 -08:00

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>