Skip to content

升级mermaid:8.13.0 -> 10.9.0#939

Merged
gsw945 merged 1 commit intomindoc-org:editor.md-upgradefrom
Aquarius10th:editor.md-upgrade
Apr 19, 2024
Merged

升级mermaid:8.13.0 -> 10.9.0#939
gsw945 merged 1 commit intomindoc-org:editor.md-upgradefrom
Aquarius10th:editor.md-upgrade

Conversation

@Aquarius10th
Copy link
Copy Markdown
Contributor

@Aquarius10th Aquarius10th commented Apr 10, 2024

在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更多的是为了展示升级的想法,如有问题,请指正。

@gsw945 gsw945 merged commit 307f825 into mindoc-org:editor.md-upgrade Apr 19, 2024
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>
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.

2 participants