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

Still maintained - new major version possible? #9

Open
daKmoR opened this issue Jun 23, 2020 · 7 comments
Open

Still maintained - new major version possible? #9

daKmoR opened this issue Jun 23, 2020 · 7 comments

Comments

@daKmoR
Copy link

daKmoR commented Jun 23, 2020

mermaid changed quite a lot... cli package has move to a separate package https://github.com/mermaid-js/mermaid-cli

also it seems now possible to use mermaid directly by passing a string without the cli? 🤔

mermaidAPI.initialize({
     startOnLoad:true
 });
 $(function(){
     const graphDefinition = 'graph TB\na-->b';
     const cb = function(svgGraph){
         console.log(svgGraph);
     };
     mermaidAPI.render('id1',graphDefinition,cb);
 });

☝️ http://mermaid-js.github.io/mermaid/#/mermaidAPI?id=render

we could work on a "update/rewrite" and publish it as a new major version?

would you accept such a "huge" change... or shell we publish under a different name? 😅

@kevinslin
Copy link

+1, any updates on this?

@daKmoR did you end up publishing a new version?

@daKmoR
Copy link
Author

daKmoR commented Jan 22, 2021

so far no 😅

if anyone could publish a package that would be sweet 👍

@kevinslin
Copy link

kevinslin commented Jan 22, 2021 via email

@hydrosquall
Copy link

@kevinslin the fork is currently even with the head of this repo ( https://a.cl.ly/NQuw2pr7 ), is your fork on a branch that might be stored locally?

@kevinslin
Copy link

@hydrosquall you're right, my bad. just pushed!

@PeppeL-G
Copy link

PeppeL-G commented Jan 2, 2023

To others as novice as me: install @kevinslin version by using:

npm install @dendronhq/remark-mermaid mermaid.cli

@remcohaszing
Copy link

Just dropping here that I maintain remark-mermaidjs. This is not a fork or anything. It’s a separate project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants