pandoc/test/command/6739.md
John MacFarlane 12ff835a8a Commonmark reader: add pipe_table extension after defaults.
Otherwise we get bad results for non-table, non-paragraph
lines containing pipe characters.

Closes #6739.

See also jgm/commonmark-hs#52.
2020-10-12 21:24:26 -07:00

21 lines
470 B
Markdown

```
% pandoc -f gfm
* `--argument` This item does not have a pipe character
* `--argA | --argB` This item has a pipe character
^D
<ul>
<li><code>--argument</code> This item does not have a pipe character</li>
<li><code>--argA | --argB</code> This item has a pipe character</li>
</ul>
```
```
% pandoc --mathjax -f gfm+tex_math_dollars
* $|x|$
* $|y|$
^D
<ul>
<li><span class="math inline">\(|x|\)</span></li>
<li><span class="math inline">\(|y|\)</span></li>
</ul>
```