mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 13:45:49 +00:00
Starting with 2.10.1, fenced divs no longer render with HTML div tags in commonmark output. This is a regression due to our transition from cmark-gfm. This commit fixes it. Closes #6768.
22 lines
204 B
Markdown
22 lines
204 B
Markdown
```
|
|
% pandoc -tcommonmark
|
|
::: custom_div
|
|
This is a div
|
|
:::
|
|
^D
|
|
<div class="custom_div">
|
|
|
|
This is a div
|
|
|
|
</div>
|
|
```
|
|
|
|
```
|
|
% pandoc -tcommonmark-raw_html
|
|
::: custom_div
|
|
This is a div
|
|
:::
|
|
^D
|
|
This is a div
|
|
```
|