reveal-md icon indicating copy to clipboard operation
reveal-md copied to clipboard

Mermaid not rendering

Open sbmueller opened this issue 1 year ago • 2 comments

Hello, I have been trying to get the mermaid demo running, however, no mermaid diagram is rendered when invoking reveal-md demo-mermaid/mermaid.md. Instead, the diagram code is just displayed in monospace font. I have noticed others who seem to have trouble with it as well: https://github.com/webpro/reveal-md/issues/197#issuecomment-1991146443. I can't find any documentation on the feature, neither in the README.md, nor with the --help output. I have reveal-md 6.1.2 installed.

Thanks for any hints!

sbmueller avatar May 30 '24 08:05 sbmueller

There's a difference in "stacked" slides which is now hopefully handled better.

Any chance you could try this:

npm i https://pkg.pr.new/webpro/reveal-md@0f1c75a

webpro avatar Jul 11 '24 09:07 webpro

I tested on 6.1.3 and the mermaid is rendered in stacked slides. However, the text seems a bit blurry.

Non-Stacked:

image

Stacked:

image

Morikko avatar Sep 17 '24 10:09 Morikko

[!WARNING]

reveal-md is no longer in active development.

No new features will be added. Pull requests for bug and documentation fixes will be considered. Occasional dependency upgrades and CVEs might happen.

Thanks for using reveal-md! Please consider these Markdown-based alternatives:

webpro avatar Jan 13 '25 19:01 webpro