kitian616 / jekyll-TeXt-theme

💎 🐳 A super customizable Jekyll theme for personal site, team site, blog, project, documentation, etc.
https://kitian616.github.io/jekyll-TeXt-theme/
MIT License
3.12k stars 2.53k forks source link

Upgrade Mermaid JS to 9.2.2 #434

Open mincong-h opened 1 year ago

mincong-h commented 1 year ago

This PR upgrades the Mermaid JS library to 9.2.2. This allows Jekyll TeXt Theme to support more Mermaid syntax. For example, the sequence diagram demo is not supported in 8.0.0.

sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
    Alice-)John: See you later!
sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
    Alice-)John: See you later!

This is tested in my blog post "Internal Working of the GitLab API Go Client" under commit https://github.com/mincong-h/mincong-h.github.io/pull/75/commits/740b1a978dbed56d913946dedb1eade4c083efb2