f6dfacf9d6
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.
18 lines
216 B
Markdown
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>
|
|
```
|