1.0.0 • Published 3 years ago

hexo-mermaid-node v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

hexo-mermaid-node

this is a plugin of hexo about mermaid that can work at node side. it will output corresponding image into markdown files.

Usage

npm install hexo-mermaid-node

after installing you can config the mermaid params in _config.yml, this is a example:

mermaid:
  version: '8.8.1'
  enable: true

if 'enable' is setted false,it will get nothing. of course if it's setted true, the below code will be generated as corresponding image as mermaid can.

flowchart TD
  B["fa:fa-twitter for peace"]
  B-->C[fa:fa-ban forbidden]
  B-->D(fa:fa-spinner);
  B-->E(A fa:fa-camera-retro perhaps?);

ok, it's all and so easy.

Refference

  1. hexo-filter-mermaid-diagrams

Liscence

MIT