Forum How do I...?

Mermaid.JS and Prince

mikebesso
I am trying to generate a pdf from an HTML file that utilized mermaid.js. (see attached).

I used the following command line:

prince --javascript --verbose mm.html


The PDF file only contains the Mermaid code, not the resultant diagram.

Has anyone gotten Mermaid to work with Prince?

THANKS
  1. mm.html0.4 kB
    the html file
  2. mm.pdf18.0 kB
    the pdf file