Discussions
Is there a way to expand or hide content?
In my organization's API guides, we sometimes need to list a lot (like, 30) API endpoints, which all are related to a specific functionality. Including such a list to a table or in the document body has a real negative impact on readability.
In our internal wiki (Confluence), I can create a table with an expand macro, so the user can toggle between viewing and hiding the list of endpoints.
Do you have any suggestions on how to work around this in ReadMe?
Posted by Katri MetsΓ€vuo over 2 years ago
Collapsable Sections without HTML
I've been trying to edit our docs so readers can expand and collapse individual section but not having much luck. I know how to do it with HTML but then readme won't render any of the markdown within the section because it looks like HTML. Anyone know how to accomplish this?
HTML Example
''<details>
<summary>TITLE</summary>
but if I add a #header it will display exactly as "#header"
</details>''
Posted by sarah almost 3 years ago