Grayda / gitlab-doc-builder

A GitLab-CI job to build PDF and DOCX files from markdown
46 stars 10 forks source link

Add mermaid rendering support #2

Closed ethanfahy closed 4 years ago

ethanfahy commented 6 years ago

This project works for me in rendering basic markdown as intended, but if I add a mermaid diagram it doesn't render in the same way that GitLab renders mermaid diagrams. Any idea how I might be able to add mermaid support to this project? I'm guessing it would be something along the lines of adding an extra package to pandoc and/or kramdown but because I'm not sure how GitLab is rendering mermaid it's a little tricky for me to tell what package I might add to this project to make it work. To be clear, there are no errors when I add a mermaid code block to my markdown file, it just spits out the mermaid text instead of rendering it as a diagram.