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.
13 lines
150 B
Markdown
13 lines
150 B
Markdown
```
|
|
% pandoc -f markdown-auto_identifiers
|
|
#hi
|
|
^D
|
|
<p>#hi</p>
|
|
```
|
|
|
|
```
|
|
% pandoc -f markdown-auto_identifiers-space_in_atx_header
|
|
#hi
|
|
^D
|
|
<h1>hi</h1>
|
|
```
|