Skip to content

Commit

Permalink
chore: update Mermaid to 9.4.3 matcornic#534
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed May 23, 2023
1 parent 109ace0 commit 36fefc8
Show file tree
Hide file tree
Showing 2 changed files with 820 additions and 448 deletions.
72 changes: 72 additions & 0 deletions exampleSite/content/shortcodes/mermaid.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -524,3 +524,75 @@ C4Context

UpdateLayoutConfig($c4ShapeInRow="3", $c4BoundaryInRow="1")
{{< /mermaid >}}

### Mindmaps

{{% notice note %}}
Mindmaps need additional files to load [not contained in the standard distribution](https://mermaid.js.org/syntax/mindmap.html#integrating-with-your-library-website). Therfore they will not work with the distribution of this theme.
{{% /notice %}}

````go
{{</* mermaid */>}}
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid
{{</* /mermaid */>}}
````

{{< mermaid >}}
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid
{{< /mermaid >}}

### Timeline

````go
{{</* mermaid */>}}
timeline
title History of Social Media Platform
2002 : LinkedIn
2004 : Facebook
: Google
2005 : Youtube
2006 : Twitter
{{</* /mermaid */>}}
````

{{< mermaid >}}
timeline
title History of Social Media Platform
2002 : LinkedIn
2004 : Facebook
: Google
2005 : Youtube
2006 : Twitter
{{< /mermaid >}}
1,196 changes: 748 additions & 448 deletions static/js/mermaid.min.js

Large diffs are not rendered by default.

0 comments on commit 36fefc8

Please sign in to comment.