f63b76e169
Previously we used Setext (underlined) headings by default. The default is now ATX (`##` style). * Add the `--markdown-headings=atx|setext` option. * Deprecate `--atx-headers`. * Add constructor 'ATXHeadingInLHS` constructor to `LogMessage` [API change]. * Support `markdown-headings` in defaults files. * Document new options in MANUAL. Closes #6662.
22 lines
286 B
Markdown
22 lines
286 B
Markdown
```
|
|
% pandoc --wrap=preserve -f html -t markdown
|
|
<h2>hi
|
|
there</h2>
|
|
^D
|
|
## hi there
|
|
```
|
|
|
|
```
|
|
% pandoc --wrap=preserve -f html -t markdown
|
|
<h2>hi <em>there
|
|
again</em></h2>
|
|
^D
|
|
## hi *there again*
|
|
```
|
|
|
|
```
|
|
% pandoc --wrap=preserve -f html -t markdown
|
|
<h2>hi<br>there</h2>
|
|
^D
|
|
## hi there
|
|
```
|