升级mermaid:8.13.0 -> 10.9.0#939
Merged
gsw945 merged 1 commit intomindoc-org:editor.md-upgradefrom Apr 19, 2024
Merged
Conversation
gsw945
pushed a commit
that referenced
this pull request
Mar 31, 2026
gsw945
added a commit
that referenced
this pull request
Mar 31, 2026
* upgrade editor.md(many bug exists) * 升级mermaid:8.13.0 -> 10.9.0 (#939) * fix issues_909 (#948) Co-authored-by: zhangsheng <zhangsheng@zhangshengdeMacBook-Pro.local> * Enhance KaTeX integration by adding auto-render support - Updated markdown.js to include jsmain and jsauto properties for KaTeX configuration. - Modified markdown_edit_template.tpl to define jsauto for KaTeX, enabling automatic rendering of math expressions. --------- Co-authored-by: Frank Zhou <34593008+Aquarius10th@users.noreply.github.com> Co-authored-by: 张胜 <244212647@qq.com> Co-authored-by: zhangsheng <zhangsheng@zhangshengdeMacBook-Pro.local>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在Mindoc v2.1-beta.5 中使用mermaid发现不支持部分较新的语法,因此将其升级到最新版本,实际使用后问题解决,暂未发现不兼容的场景。
新文件来源:
https://cdn.jsdelivr.net/npm/mermaid@10.9.0/dist/mermaid.min.js
https://cdn.jsdelivr.net/npm/mermaid@10.9.0/dist/mermaid.js
发起此PR更多的是为了展示升级的想法,如有问题,请指正。