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

markdown的流程图如何在该主题上显示呀? #75

Closed
cfzhous opened this issue Mar 11, 2020 · 2 comments
Closed

markdown的流程图如何在该主题上显示呀? #75

cfzhous opened this issue Mar 11, 2020 · 2 comments

Comments

@cfzhous
Copy link

cfzhous commented Mar 11, 2020

No description provided.

@reuixiy
Copy link
Owner

reuixiy commented Mar 11, 2020

Markdown 没有流程图,你指的应该是 https://github.com/mermaid-js/mermaid

reuixiy added a commit that referenced this issue Mar 11, 2020
usage

1. enable mermaid in post's front matter, e.g.

   ---
   mermaid: true

2. include content with `<div>`, e.g.

   <div class="mermaid">
   graph TD;
       A-->B;
       A-->C;
       B-->D;
       C-->D;
   </div>
@reuixiy
Copy link
Owner

reuixiy commented Mar 11, 2020

刚添加了支持

usage

  1. enable mermaid in post's front matter, e.g.

    ---
    mermaid: true
    
  2. include content with <div>, e.g.

    <div class="mermaid">
    graph TD;
        A-->B;
        A-->C;
        B-->D;
        C-->D;
    </div>
    

@reuixiy reuixiy closed this as completed Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants