mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-30 17:59:17 +08:00
6893b38a6e
Previously fenced divs were not used in this case, causing the writer to fall back to raw HTML. Closes #10955.
30 lines
767 B
Markdown
30 lines
767 B
Markdown
```
|
|
% pandoc -f opml -t markdown
|
|
<?xml version="1.0"?> <opml version="1.0"> <head> <title> test </title> </head> <body> <outline text="test"> <outline text="try" _note="Here is inline html:

<div> 
<balise>
bla bla
</div>"/> </outline> </body> </opml>
|
|
^D
|
|
# test
|
|
|
|
## try
|
|
|
|
Here is inline html:
|
|
|
|
::: {}
|
|
`<balise>`{=html} bla bla
|
|
:::
|
|
|
|
```
|
|
|
|
```
|
|
% pandoc -f opml-raw_html-native_divs -t markdown
|
|
<?xml version="1.0"?> <opml version="1.0"> <head> <title> test </title> </head> <body> <outline text="test"> <outline text="try" _note="Here is inline html:

<div> 
<balise>
bla bla
</div>"/> </outline> </body> </opml>
|
|
^D
|
|
# test
|
|
|
|
## try
|
|
|
|
Here is inline html:
|
|
|
|
\<div\> \<balise\> bla bla \</div\>
|
|
|
|
```
|