stable

Clone or download

Read-only

Ability to magnify mermaid diagrams

With a large diagram, text might be too small to be readable. User can zoom and pan a diagram in order to navigate inside. Part of request #19739: Add support of mermaid js diagrams Change-Id: Iaf03a16bb7bb1181048ba6bd66ef331bf4292ce0

Modified Files

Name
M src/package-lock.json +33 −0 Go to diff View file
M src/package.json +1 −0 Go to diff View file
M src/scripts/mermaid/__snapshots__/mermaid-diagram-element.test.ts.snap +13 −9 Go to diff View file
M src/scripts/mermaid/mermaid-diagram-element.test.ts +85 −0 Go to diff View file
M src/scripts/mermaid/mermaid-diagram-element.ts +113 −2 Go to diff View file
M src/themes/BurningParrot/css/includes/_mermaid.scss +12 −42 Go to diff View file
M src/themes/FlamingParrot/css/utils/_mermaid.scss +17 −41 Go to diff View file
A src/themes/common/css/utils/_mermaid.scss +107 −0 Go to diff View file