Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Mermaid Diagrams

Write a fenced mermaid block and Holocron renders it as an SVG diagram. Colors come from your site theme, so diagrams switch with dark mode and follow any CSS variables you override.
```mermaid flowchart TB subgraph source[Your repo] mdx[MDX pages]:::blue config[docs.json]:::blue end plugin[Holocron Vite plugin]:::purple site[Docs site]:::green cache[(holocron-cache.json)]:::amber mdx --> plugin config --> plugin plugin -->|build| site plugin -.-> cache ```

Color classes

Add :::blue, :::green, :::purple, :::pink, :::red, :::amber, :::orange or :::teal to a node to give it a category color. Use class <subgraph> green for subgraphs. No classDef is needed, and the colors adapt to dark mode.
Pick one color per kind of thing: for example clients green, your services blue, third parties purple and storage amber.
A classDef with the same name wins over the built-in color, so existing diagrams keep their own styles.

Diagram types

Flowcharts, sequence diagrams, state diagrams, class and ER diagrams, Gantt charts, pie charts, git graphs, mindmaps and more are supported. Each type loads only on the pages that use it.

Zoom controls

Diagrams wider than the content column shrink to fit and show zoom controls. Set actions to always show or always hide them, and placement to move them: top-left, top-right, bottom-left or bottom-right (the default).
```mermaid actions={true} placement="top-right" flowchart LR A --> B ```

Theming

Diagrams read Holocron theme variables like --foreground, --background, --primary and the semantic colors --blue, --green, and so on. Override them in your CSS and diagrams follow. To change only diagrams, set pele variables on .mermaid-diagram:
.mermaid-diagram { --pele-line: var(--primary); --pele-radius: 4px; }