Skip to content

fix: add mermaid language mapping for Notion code blocks#82

Closed
sam-ent wants to merge 1 commit intotryfabric:masterfrom
sam-ent:fix/mermaid-language-mapping
Closed

fix: add mermaid language mapping for Notion code blocks#82
sam-ent wants to merge 1 commit intotryfabric:masterfrom
sam-ent:fix/mermaid-language-mapping

Conversation

@sam-ent
Copy link

@sam-ent sam-ent commented Jan 29, 2026

Summary

Add mermaid to language mapping so fenced code blocks render as Mermaid diagrams in Notion.

Problem

Notion supports mermaid natively, but ```mermaid blocks weren't being mapped correctly.

Solution

Add direct mapping: map['mermaid'] = 'mermaid'

Includes test case. Tested with markdown files syncing to Notion.

Notion supports mermaid natively but fenced code blocks weren't mapped.
Add direct mapping and test case.
@sam-ent sam-ent closed this by deleting the head repository Feb 2, 2026
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

Comments