Markdown Toolbox Logo Markdown Toolbox

Markdown Toolbox - Easily convert Markdown to other formats | Product Hunt

Can I create collapsible sections in markdown?

Wednesday, November 29, 2023

Creating collapsible sections in Markdown is not supported by standard Markdown syntax. However, if your Markdown processor supports HTML, you can use HTML details and summary tags.

<summary>Click to expand</summary>
This is a collapsible section.
Click to expandThis is a collapsible section.