Skip to content

Instantly share code, notes, and snippets.

@martinwoodward
Created February 11, 2022 20:34
Show Gist options
  • Save martinwoodward/8ad6296118c975510766d80310db71fd to your computer and use it in GitHub Desktop.
Save martinwoodward/8ad6296118c975510766d80310db71fd to your computer and use it in GitHub Desktop.
GitHub HTML Rendering Pipeline
```mermaid
sequenceDiagram
    participant dotcom
    participant iframe
    participant viewscreen
    dotcom->>iframe: loads html w/ iframe url
    iframe->>viewscreen: request template
    viewscreen->>iframe: html & javascript
    iframe->>dotcom: iframe ready
    dotcom->>iframe: set mermaid data on iframe
    iframe->>iframe: render mermaid
```
sequenceDiagram
    participant dotcom
    participant iframe
    participant viewscreen
    dotcom->>iframe: loads html w/ iframe url
    iframe->>viewscreen: request template
    viewscreen->>iframe: html & javascript
    iframe->>dotcom: iframe ready
    dotcom->>iframe: set mermaid data on iframe
    iframe->>iframe: render mermaid
@stabenfeldt
Copy link

Is the hyperlink solution support only for flowcharts? (Haven't been able to implement with user journey chart)
+1

@kyouheicf
Copy link

Can you supoprt img tag for rendering the external image?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment