Open
Description
Notion has recently added pretty awesome integration with mermaid:
What is also super great that I used is that you can add click handlers in the mermaid definition that link directly to other notion documents, creating visual, clickable dependencies between documents.
I create these diagrams as "synced blocks" allowing me to embed the same diagram in the relevant notion documents.
What I would like, and can make an attempt to implement this myself, is:
- Process notion mermaid code blocks, extract the mermaid definition, and convert to markdown. This is actually super basic, it's just directly extracting the mermaid definition and pasting in a markdown mermaid block.
My question is, before I start: would is also be possible to implement the click handlers? The links are notion document URLs, and these would have to be converted to markdown links that works with docusaurus.