xywwf / pandoc-dot-mermaid-luafilter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cover docxtoc title subtitle
true
true
测试文档
副标题

How to

First, use brew to install graphviz

brew install graphviz

Then, install mermaid cli locally.

yarn add @mermaid-js/mermaid-cli

or

npm install @mermaid-js/mermaid-cli

Test

pandoc test.md --lua-filter=dot_mermaid.lua -o test.pdf
pandoc test.md --lua-filter=dot_mermaid.lua -o test.docx

About


Languages

Language:Lua 100.0%