mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 11:27:06 +00:00
48c88d566d
This is enabled by default in pandoc and GitHub markdown but not the
other flavors.
This requirse a space between the opening #'s and the header
text in ATX headers (as CommonMark does but many other implementations
do not). This is desirable to avoid falsely capturing things ilke
#hashtag
or
#5
Closes #3512.
150 B
150 B
% pandoc -f markdown-auto_identifiers
#hi
^D
<p>#hi</p>
% pandoc -f markdown-auto_identifiers-space_in_atx_header
#hi
^D
<h1>hi</h1>