pandoc/test/command/6385.md
John MacFarlane f6dfacf9d6 Add "summary" to list of block-level HTML tags.
Closes #6385.  (The summary element needs to be the first
child of details and should not be enclosed by p tags.)

NOTE:  you need to include a blank line before the closing
`</details>`, if you want the last part of the content to
be parsed as a paragraph.
2020-05-20 07:45:14 -07:00

18 lines
216 B
Markdown

```
% pandoc -f markdown -t html
<details>
<summary>Show me:</summary>
details para 1
details para 2
</details>
^D
<details>
<summary>
Show me:
</summary>
<p>details para 1</p>
<p>details para 2</p>
</details>
```