You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those interested, this feature isn't Markdown-specific. It works in any format supported by github/markup that supports syntax highlighted code-blocks.
Basically, if it can yield <pre lang="mermaid">, it should be supported. Notably, GitHub Wikis are an exception (though this may be fixed in future).
.. code:: mermaid flowchart LR; A-->B; B-->C; C-->D; click A callback "Tooltip for a callback" click B "http://www.github.com" "This is a tooltip for a link" click A call callback() "Tooltip for a callback" click B href "http://www.github.com" "This is a tooltip for a link"
For those interested, this feature isn't Markdown-specific. It works in any format supported by
github/markup
that supports syntax highlighted code-blocks.Basically, if it can yield
<pre lang="mermaid">
, it should be supported. Notably, GitHub Wikis are an exception (though this may be fixed in future).Examples in different markup languages
AsciiDoc
Org-mode
Textile
WikiText (a.k.a., "MediaWiki")
NB: GitHub only supports
<source>
tags, which were deprecated in MediaWiki 1.16 in favour of the<syntaxhighlight>
tag:reStructuredText