xianmin / hugo-theme-jane

A readable & concise theme for Hugo, color schemes to choose, easy to personalize. Working well since 2018.
https://xianmin.github.io/hugo-theme-jane/
MIT License
926 stars 287 forks source link

How to use Diagrams in Jane? #325

Closed noneback closed 7 months ago

noneback commented 3 years ago

I want to use flow chart and sequence diagrams in my blog.And I also noticed that there is a config entry in my md file, flowchartDiagrams and sequenceDiagrams. But I don't know how to use it?

Is there any good example or any other idea to use it in Jane?

Darthagnon commented 2 years ago

We could probably implement diagrams via Mermaid, more or less as described in this blog post.

Do note that I plan on adding this diagram method to Darth's Hugo Shortcodes, so that they can be used with any theme!