Skip to content

Implement mermaidcli approach for supporting mermaid diagrams #13

Open
@domWalters

Description

@domWalters

For various reasons, I think use of relaxedjs needs to be aborted in favour of a different approach.

See this comment for an example of how to use mermaidcli to render images before the pdf render happens: orzih#93 (comment)

I propose:

  • Reverting the relaxedjs patches.
  • Adopting the code from the linked comment above.
  • Rework it to avoid use of /tmp files.
    • chromium-browser on Ubuntu is shipped as a snap which can't access the /tmp directory and causes this approach to silently fail.
    • The site folder could quite happily be used to store these temp files, or some other build folder (perhaps user specified).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency fileenhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions