hexo-mermaid-node

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hexo-mermaid-node

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

983 kB

Total Files

9

Last publish

Collaborators

  • cucygh