mirror of https://github.com/luizdepra/hugo-coder.git

edit | blame | history | raw

+++
date = "2022-07-25"
title = "Mermaid JS support"
description = "The post demonstrates Mermaid JS support"
series = ["Theme", "Hugo"]
+++

If you want to use Mermaid-JS on your website.
Provide mermaid as Shortcode in your markdown file.

{{}}
flowchart LR

A --> B

B --> C

C --> D 

D --> B

{{}}

{{}}
sequenceDiagram
participant Alice
participant Bob
Alice->>Bob: Hi Bob
Bob->>Alice: Hi Alice
{{}}

Find more example on Mermaid-JS website.