VPS者 - Introduction: http://vpser.xyz/docs/getting-started/introduction/ - Create a Site: http://vpser.xyz/docs/getting-started/create-a-site/ - Configuration: http://vpser.xyz/docs/getting-started/configuration/ - Organisation: http://vpser.xyz/docs/content/organisation/ - Pages: http://vpser.xyz/docs/content/pages/ - Menus: http://vpser.xyz/docs/content/menus/ - Blog: http://vpser.xyz/docs/content/blog/ - Multi-Language: http://vpser.xyz/docs/content/multilingual/ - Shortcodes: http://vpser.xyz/docs/content/shortcodes/ - Asciinema: http://vpser.xyz/docs/content/shortcodes/asciinema/ - Buttons: http://vpser.xyz/docs/content/shortcodes/buttons/ - Columns: http://vpser.xyz/docs/content/shortcodes/columns/ - Details: http://vpser.xyz/docs/content/shortcodes/details/ - Images: http://vpser.xyz/docs/content/shortcodes/experimental/images/ - Hints: http://vpser.xyz/docs/content/shortcodes/hints/ - Mermaid: http://vpser.xyz/docs/content/shortcodes/mermaid/ - Steps: http://vpser.xyz/docs/content/shortcodes/steps/ - Tabs: http://vpser.xyz/docs/content/shortcodes/tabs/ - KaTeX: http://vpser.xyz/docs/content/shortcodes/katex/ - Styles: http://vpser.xyz/docs/customization/styles/ - Inject Partials: http://vpser.xyz/docs/customization/inject-partials/ # Mermaid Render diagrams and charts with [Mermaid](https://mermaid.js.org/). The library is loaded automatically on first use. By default diagrams follows the site theme colors. > [!TIP] > Override Mermaid initialization by creating `assets/mermaid.json` in your project. A `theme` set there takes precedence over the CSS variable. ## Syntax Use fenced code blocks (recommended) or the shortcode ````tpl ```mermaid graph LR A --> B ``` ```` ```tpl {{}} graph LR A --> B {{}} ``` ## Examples {{% columns %}} - ```mermaid flowchart TD A[Content Files] --> B[Hugo Build] B --> C[HTML Output] B --> D[Search Index] B --> E[RSS Feed] ``` ```mermaid sequenceDiagram Browser->>Hugo: Request page Hugo->>Theme: Apply template Theme->>Browser: Rendered HTML Browser->>Browser: Load shortcodes ``` - ```mermaid pie title Theme Assets "SCSS" : 8 "HTML Templates" : 30 "JavaScript" : 3 "i18n Files" : 35 ``` ```mermaid gitGraph commit id: "init" commit id: "add theme" branch feature checkout feature commit id: "add docs" commit id: "add config" checkout main merge feature commit id: "deploy" ``` {{% /columns %}} Explore more diagram types on the [Mermaid documentation](https://mermaid.js.org/syntax/flowchart.html).