question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mermaid.parse API doesn't return anything. Is this intentional?

See original GitHub issue

I’m trying to use the markup generated by Mermaid in Webpack, but I discovered that parse function doesn’t return anything. Is this intentional?

> mermaid.parse(definition)
undefined

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
nothingismagickcommented, Sep 26, 2019

Yeah, render is where its at.

this.graph = this.$mermaid.render('mermaid', pattern)
0reactions
volkanunsalcommented, Sep 26, 2019

Aha, very cool. Thanks for the insight.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What DALL-E 2 can and cannot do - LessWrong
I got access to DALL-E 2 earlier this week, and have spent the last few days (probably adding up to dozens of hours)...
Read more >
changelog - GitHub Pages
NOT "client api/17". it was stating the hydrus network version erroneously. it now states client api version and software version. if you are...
Read more >
Mermaid diagram line break - Stack Overflow
It appears you can use <br> instead: mermaid(" graph TB A[GE Solution]-->C{ } B[GA Solution]-->C{ } C{ }-->D[Stir 10 mins at 500 r/min] ......
Read more >
lib.rs - source - Docs.rs
Similarly, if your C++ API returns a pointer, /// you'll have to use `unsafe` to do anything useful with the pointer in Rust....
Read more >
Making Mermaid Diagrams in Markdown - CSS-Tricks
The Mermaid API's default behavior expects a <div class="mermaid"> tag that directly contains the contents — so, no <code> or <span> (like from ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found