Skip to content

Conversation

jfharden
Copy link
Contributor

Use svg-toolbelt to give mermaid diagrams pan and zoom controls. This is especially useful since our diagrams render at a fixed width of about 760px in the manual, so any reasonably sized diagram rendered by mermaidjs is unreadable.

As an addition, when we render the mermaid code block, a code tag is no longer appropriate since we are displaying an svg instead, so I've switched out the code block for a div.

…nder.

* When mermaid diagrams are rendered they shouldn't be a code block
  anymore, so convert them to a div
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant