-
All Hexo Mermaid packages are outdated. I referred to the latest Mermaid documentation and made some modifications to the hexo-filter-mermaid-diagrams-v plugin. The code is simple and easy to understand.
-
Install
npm i hexo-mermaid-lastest
-
Use mermaid code blocks in markdown files
```mermaid flowchart LR A --> B ```