hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.87k stars 16.64k forks source link

Can't render the flow diagram in the markdown file? #3161

Open xyecoding opened 2 years ago

xyecoding commented 2 years ago

I tried to draw a flow diagram in the markdown file. But it can't be rendered. The source code: image The output: image

Mister-Hope commented 2 years ago

That's a third party syntax, and why should reveal js support it ?

sengmann commented 10 months ago

@xyecoding Here a late suggestion: https://github.com/zjffun/reveal.js-mermaid-plugin

I used this plugin to create git commit graphs like this

```mermaid %%{init: {'gitGraph': {'showBranches': false, 'showCommitLabel': false} }}%% gitGraph commit commit tag: "ancestor" branch feature checkout feature commit checkout main commit tag: "main" checkout feature commit tag: "feature" checkout main merge feature ```

Mermaid.js supports also flow diagrams. See https://github.com/zjffun/reveal.js-mermaid-plugin/blob/main/test/test.html