Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit aae5452

Browse files
Jocsclaude
andauthored
chore: upgrade @muyajs/core to 0.1.0 and drop mermaid workaround (#99)
Muya 0.1.0 fixes the walkTokens accumulation bug that wiped code-block languages on the 2nd+ call to MarkdownToHtml.renderHtml() and also renders mermaid SVGs internally. Remove the rewrapMermaidSource fallback and the manual mermaid passes in Feature/Theme, and drop the now-unused mermaid dependency. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9ac6119 commit aae5452

5 files changed

Lines changed: 57 additions & 231 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
"type-check": "tsc --noEmit"
1212
},
1313
"dependencies": {
14-
"@muyajs/core": "^0.0.39",
14+
"@muyajs/core": "^0.1.0",
1515
"katex": "^0.16.9",
16-
"mermaid": "^11.12.1",
1716
"react": "^18.2.0",
1817
"react-dom": "^18.2.0"
1918
},

pnpm-lock.yaml

Lines changed: 51 additions & 130 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)