pandoc/test/command/3512.md
John MacFarlane 48c88d566d Add space_in_atx_header extension.
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.
2017-03-20 21:55:30 +01:00

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>
```