iissnan / iissnan/theme-next-docs

NexT插入Mermaid图表问题

Open
#240 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
165
Forks
55
PR merge metrics
No merged PRs in 30d

Description

在写作时,我插入Mermaid图表,在编辑器的效果如下图
![editor](https://user-images.githubusercontent.com/20458813/47689862-b77b9e00-dc26-11e8-9a8c-bfe987c29e4a.png)
在我使用hexo g, hexo s在本地预览时,会出现下面的状况:
![local_debug](https://user-images.githubusercontent.com/20458813/47690009-4a1c3d00-dc27-11e8-997f-e3d032bf2edf.png)
这个怎么解决?

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the Mermaid discrepancy with the editor output and the `hexo g`/`hexo s` local preview, then trace how the generated page handles the chart markup. Done means the Mermaid chart renders correctly in the local preview as it does in the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.