Files
Meher Chaitanya 1ffeb856ee Add auto_identifiers support to Man Reader (#11675)
Add support for the `auto_identifiers`, `gfm_auto_identifiers`, and
`ascii_identifiers` extensions in the man reader. Section headings
parsed from .SH and .SS macros now receive auto-generated id
attributes when the extension is enabled, enabling `--toc` to
produce working anchor links.

- Add `autoIdExtensions` to default man extensions [behavior change]
- Add `HasReaderOptions`, `HasLogMessages` and `HasIdentifierList` to
  `ManState` to run `registerHeader`

Closes #8852.
2026-05-30 19:11:14 +02:00

499 B

% pandoc -f man -t html
.TH "TEST" "1" "2026-05-08"  "test v1.0.0" "test manual"
.SH HEADING
.TS
tab(;);
l l.
this is a table element \
written in two lines;abcdefg
another \
one;123456
.TE
^D
<h1 id="heading">HEADING</h1>
<table>
<tbody>
<tr>
<td style="text-align: left;">this is a table element written in two
lines</td>
<td style="text-align: left;">abcdefg</td>
</tr>
<tr>
<td style="text-align: left;">another one</td>
<td style="text-align: left;">123456</td>
</tr>
</tbody>
</table>