How to use the third-party packages:mermaid.min.js

Including libraries with script tags is unreliable because the cards load content asynchronously. I think you’ll be better off importing them with a JS loading script.

I wrote this guide a few months ago, maybe it’s helpful:


Regarding the AnkiDroid rendering, you might have to tweak some CSS to achieve a better result.

3 Likes