Thursday, June 17, 2021

Show/Hide HTML, Markdown, GitHub: details/summary tags

 <details>: The Details disclosure element - HTML: HyperText Markup Language | MDN

<details>

    <summary>Show Details</summary>

    Visible only after click on summary

</details>


Using <details> <summary> expandable content on GitHub with Markdown #details #summary #markdown #gfm #html · GitHub

#### Example

<details>
<summary>Shopping list</summary>

* Vegetables
* Fruits
* Fish

</details>
HTML5 <details> in GitHub · GitHub


No comments: