jekyll-pandoc-mermaid can solve rendering issue that occures when using jekyll-pandoc and jekyll-mermaid plugin together
'jekyll-pandoc-mermaid' is enable only when using gem jekyll-pandoc
and jekyll-mermaid
'jekyll-pandoc-mermaid' uses Jekyll Hook.
4.0
or higher2.0.1
or higher (Jekyll-Pandoc requires 'pandoc-ruby')1.0.0
or higherRun bundle install
after adding the gem to your Jekyll Gemfile
:
gem "jekyll-pandoc-mermaid"
Please see the Jekyll documentation for more installation options.
_config.yml
:
```yml
plugin:'jekyll-pandoc-mermaid' is enable only when set as follows in the Jekyll _config.yml
:
markdown: Pandoc
Please see the jekyll-pandoc Configuration for more configuration options.
'jekyll-pandoc-mermaid' is enable only when set as follows in the Jekyll _config.yml
:
mermaid:
src: 'path/to/mermaid.js' (eg. https://unpkg.com/[email protected]/dist/mermaid.min.js)
Please see the jekyll-mermaid Configuration for more configuration options.
{% mermaid %}
graph TD
A-->B
A-->C
B-->D
C-->D
{% endmermaid %}
Please see the jekyll-mermaid usage and mermaid website for more examples.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)