Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 552 Bytes

mermaid.js example

This demonstrates how Sourcegraph for Chrome/Firefox renders mermaid.js diagrams on GitHub.

Instructions:

  1. Install Sourcegraph for your browser.

  2. Open the settings page for your Sourcegraph browser extension.

  3. Scroll down to "Experimental features".

  4. Enable "Render mermaid.js diagrams on GitHub markdown files".

  5. Refresh this page and see the following diagram rendered.

    graph LR
        A-->B
        B-->C