greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.48k stars 442 forks source link

`<details> <summary>` does not display properly when used with Markdown #1046

Closed XIU2 closed 2 years ago

XIU2 commented 2 years ago

I want some content to be collapsed by default to keep it clean and beautiful so that visitors can quickly find what they want to see. But I found that when <details> <summary> is used with Markdown, it will not display properly.


Original text:

Markdown:

HTML:

Desired result:

JasonBarnabe commented 2 years ago

Same as #989