Skip to content

Conversation

faroke
Copy link

@faroke faroke commented Jun 30, 2023

Description

This pull request introduces support for rendering Mermaid.js diagrams in code blocks. This feature is implemented using the Mermaid.js library and is activated whenever a code block with the class language-mermaid is encountered.

Here are some examples of Mermaid.js diagrams rendered using this implementation:

Fire-Shot-Capture-001-Test-mermaid-react-notion-x-localhost.png

Notion Test Page ID

e970087274df44338c5795713e62e61e

This feature would be a valuable addition to the react-notion-x library, as it would allow users to include rich, interactive diagrams in their Notion pages using the popular Mermaid.js syntax.

@vercel
Copy link

vercel bot commented Jun 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-notion-x ✅ Ready (Inspect) Visit Preview Jun 30, 2023 2:22pm
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Jun 30, 2023 2:22pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant