Include diagrams in your Markdown files with Mermaid
11–20 of 272 posts
Re: Include diagrams in your Markdown files with Mermaid
#12Re: Include diagrams in your Markdown files with Mermaid
#13I’m super excited for this! One thought though, on the syntax. Wouldn’t it be a bit odd if suddenly this line in a README.md: ```js const foo = 1 + 1 ``` Rendered as: `2` ? Isn’t that kind of what we’re doing here with the mermaid source tag? That tag is for showing source code, no? Feels like there should be another tag for rendering it.
Re: Include diagrams in your Markdown files with Mermaid
#14I think this is a good change. While I would have preferred to see support for Graphviz over Mermaid, I understand Mermaid was probably chosen for the sake of easier integration. Either way, it will be nice to be able to embed diagrams rather than constantly re-generate and re-commit images to the repo.
Re: Include diagrams in your Markdown files with Mermaid
#15Thereby creating a hard dependency for your markdown files, obviating their portability.
Re: Include diagrams in your Markdown files with Mermaid
#16I think this is a good change. While I would have preferred to see support for Graphviz over Mermaid, I understand Mermaid was probably chosen for the sake of easier integration. Either way, it will be nice to be able to embed diagrams rather than constantly re-generate and re-commit images to the repo.
Re: Include diagrams in your Markdown files with Mermaid
#17I think this is a good change. While I would have preferred to see support for Graphviz over Mermaid, I understand Mermaid was probably chosen for the sake of easier integration. Either way, it will be nice to be able to embed diagrams rather than constantly re-generate and re-commit images to the repo.
Has Graphviz been re-implemented in JavaScript or compiled to WASM?
Re: Include diagrams in your Markdown files with Mermaid
#18Re: Include diagrams in your Markdown files with Mermaid
#19I’m super excited for this! One thought though, on the syntax. Wouldn’t it be a bit odd if suddenly this line in a README.md: ```js const foo = 1 + 1 ``` Rendered as: `2` ? Isn’t that kind of what we’re doing here with the mermaid source tag? That tag is for showing source code, no? Feels like there should be another tag for rendering it.
Only the mermaid identifier is supported for triple backticks blocks, you can't put js and have it spit out script that executes in the browser.