We have two alternative #recipe for displaying diagrams in markdown:
You can use Mermaid plugin to draw and preview diagrams in your content.
Draw.io extension allows you to create, edit, and display your diagrams without leaving Visual Studio Code. The .drawio.svg
or .drawio.png
files can be automatically embedded and displayed in published Foams, no export needed. FYI, the diagram below was made using Draw.io! You can check the diagram here.
*.drawio.svg
or *.drawio.png
file.![My Diagram](my-diagram.drawio.svg)