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

Support mermaid? Suggesting Enhancements #347

Closed
3 tasks done
xiaohaoliang opened this issue Jul 10, 2018 · 8 comments · Fixed by #649
Closed
3 tasks done

Support mermaid? Suggesting Enhancements #347

xiaohaoliang opened this issue Jul 10, 2018 · 8 comments · Fixed by #649

Comments

@xiaohaoliang
Copy link

xiaohaoliang commented Jul 10, 2018

I agree and want to create new issue


mermaid is a simple markdown-like script language for generating charts from text via javascript.

flowchart, sequence diagram, gantt diagram~

Is there a plan to support mermaid?

@xiaohaoliang xiaohaoliang changed the title support mermaid? support mermaid? Suggesting Enhancements Jul 10, 2018
@maple3142
Copy link
Contributor

It is not related to hexo theme, it should be done by hexo's markdown plugins.
https://github.com/threeq/hexo-tag-mermaid

@ivan-nginx
Copy link
Member

@maple3142 but it can be maked as internal tag plugin or external repo.
@xiaohaoliang and if https://github.com/threeq/hexo-tag-mermaid works fine, why need to create another similar plugin?

@xiaohaoliang
Copy link
Author

xiaohaoliang commented Jul 11, 2018

Tks, and I agree~ @maple3142 @ivan-nginx

I try to use hexo-tag-mermaid .
Two question:

  • I do not know how to configure it. (after install, it is not working)
  • The grammar of hexo-tag-mermaid is not fit me.

The grammar of hexo-tag-mermaid

{% mermaid flow 流程图 2 %}
    B["fa:fa-twitter for peace"]
    B-->C[fa:fa-ban forbidden]
    B-->D(fa:fa-spinner);
    B-->E(A fa:fa-camera-retro perhaps?);
{% endmermaid %}

I expect like :

```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```

I am newbee~

@icecory
Copy link

icecory commented Jul 28, 2018

is https://github.com/webappdevelp/hexo-filter-mermaid-diagrams supported in hexo next?

@ivan-nginx ivan-nginx changed the title support mermaid? Suggesting Enhancements Support mermaid? Suggesting Enhancements Dec 16, 2018
@ivan-nginx ivan-nginx mentioned this issue Dec 16, 2018
72 tasks
@stale
Copy link

stale bot commented Mar 1, 2019

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Mar 1, 2019
@ivan-nginx ivan-nginx removed the Stale label Mar 1, 2019
@stevenjoezhang stevenjoezhang mentioned this issue Mar 4, 2019
15 tasks
@ivan-nginx
Copy link
Member

ivan-nginx commented Mar 7, 2019

@stevenjoezhang if issue solved, need to add label solved.
And if Radmap exists, check the box there.

@stevenjoezhang
Copy link
Contributor

Ah.. it's closed automatically, I forgot to add the tag..

@lock
Copy link

lock bot commented Mar 10, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants