Diagrams
The default theme can embed Mermaid to render diagrams. It recognizes fenced code blocks whose info string starts with the language code mermaid
and treats them specially instead of calling the standard highlighter.
Note that diagrams are rendered on the client side with JavaScript. The generated site contains the source code for the diagrams.
Example:
This is rendered as: