The Markdown MkDocs sites are written in, read the way MkDocs reads it and
written out with the same HTML and class names, so a docs site moves over
without its pages being rewritten and its stylesheet keeps working:
- Admonitions: !!! note "Title", with the body indented four spaces. An
empty title leaves the title out; no title uses the type.
- Collapsible blocks: ??? tip "Title" is a <details>, ???+ opens it.
- Content tabs: === "Linux" after === "macOS" is one set of tabs (===+
picks the one shown first, ===! starts a new set). Radio buttons and
labels, so they work without a script.
- Keys: ++ctrl+alt+del++ is <kbd> keys, named as pymdownx names them.
- Definition lists (goldmark's).
- { .class #id } straight after a picture or a link. Without trusted HTML,
only id and class are kept.
- <div markdown> ... </div>: Markdown inside an HTML block, when the site
allows HTML.
Bodies hold any Markdown, admonitions and tabs included. The sanitizer for
unsafe_html lets the tabs' radio buttons and labels through, and nothing
else of the kind.
The visual editor keeps each admonition, collapsible block and set of tabs
whole and read-only, like a table, so editing nearby can't break one apart;
definition lists and { .class } likewise.
The starter's stylesheet and the docs pack (1.1.0) style all of it from the
theme's variables, light and dark, each kind of admonition in its own color.