Tisty Markdown Meet Tisty ES

Collapsible sections

A title you click to open or fold what is under it. Pick Collapsible section in the / menu, or write it:

:::details Rina's full record

Born in 2023. Six-in-one and rabies every March.

- Worming every three months

:::
Rina's full record

Born in 2023. Six-in-one and rabies every March.

  • Worming every three months
  • The opening line, :::details and its title, stands as a paragraph of its own: a blank line before and after it. So does the closing :::.
  • Without its closing ::: it is not a section: both lines stay as written.
  • A section starts folded. With no title after :::details, it shows an empty one.
  • Sections nest. Any :::word line opens a container that the next lone ::: closes, so a section inside another, or a :::tip block written by another tool, never steals its closing fence. details folds and the five callout kinds draw a callout; any other :::word block shows its lines as written.
  • They work inside a callout too.
  • GitHub shows both fence lines as text and everything between them unfolded. Tisty also draws a <details> block written in HTML, the way GitHub writes them, but that is HTML, which is outside the language.