Hugo Book - Introduction: https://hugo-book-demo.netlify.app/docs/getting-started/introduction/ - Create a Site: https://hugo-book-demo.netlify.app/docs/getting-started/create-a-site/ - Configuration: https://hugo-book-demo.netlify.app/docs/getting-started/configuration/ - Organisation: https://hugo-book-demo.netlify.app/docs/content/organisation/ - Pages: https://hugo-book-demo.netlify.app/docs/content/pages/ - Menus: https://hugo-book-demo.netlify.app/docs/content/menus/ - Blog: https://hugo-book-demo.netlify.app/docs/content/blog/ - Multi-Language: https://hugo-book-demo.netlify.app/docs/content/multilingual/ - Shortcodes: https://hugo-book-demo.netlify.app/docs/content/shortcodes/ - Asciinema: https://hugo-book-demo.netlify.app/docs/content/shortcodes/asciinema/ - Badges: https://hugo-book-demo.netlify.app/docs/content/shortcodes/badges/ - Buttons: https://hugo-book-demo.netlify.app/docs/content/shortcodes/buttons/ - Cards: https://hugo-book-demo.netlify.app/docs/content/shortcodes/cards/ - Columns: https://hugo-book-demo.netlify.app/docs/content/shortcodes/columns/ - Details: https://hugo-book-demo.netlify.app/docs/content/shortcodes/details/ - Hints: https://hugo-book-demo.netlify.app/docs/content/shortcodes/hints/ - Images: https://hugo-book-demo.netlify.app/docs/content/shortcodes/images/ - Mermaid: https://hugo-book-demo.netlify.app/docs/content/shortcodes/mermaid/ - Steps: https://hugo-book-demo.netlify.app/docs/content/shortcodes/steps/ - Tabs: https://hugo-book-demo.netlify.app/docs/content/shortcodes/tabs/ - KaTeX: https://hugo-book-demo.netlify.app/docs/content/shortcodes/katex/ - Styles: https://hugo-book-demo.netlify.app/docs/customization/styles/ - Inject Partials: https://hugo-book-demo.netlify.app/docs/customization/inject-partials/ # Mermaid Render diagrams and charts with [Mermaid](https://mermaid.js.org/). The library is loaded automatically on first use. > [!TIP] > Override Mermaid initialization by creating `assets/mermaid.json` in your project. ## 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).