Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Script request] Hexo 渲染的文章不支持 plantuml 需要适配 #5

Open
remi-guan opened this issue Nov 15, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@remi-guan
Copy link

Theme Branch: All

我们采用的编辑器 Vditor 支持 plantuml 渲染。如果在编辑器中输入一个 plantuml 代码块,就可以实时渲染出 uml 图片。
但是发布后在模板中是不支持这样渲染的,只会被当作纯代码块。

image

Describe the solution you'd like
请研究一下如何在 markdown-it 中渲染出 plantuml 的代码块,比如尝试使用 npm 包 markdown-it-plantuml

Additional context: Add any other context about the theme here.

@remi-guan remi-guan added the enhancement New feature or request label Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Garfield550 added a commit that referenced this issue Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant