Skip to content
Limited Time 40% off for early adopters — Get discount →

Markdown

Last updated:

Configure how Mermaid diagrams appear in the Markdown preview at Settings > Tools > Mermaid Studio > Markdown.

Markdown diagram settings

By default, rendered diagrams are shown inside a container with a subtle background. Enable Show diagrams inline to remove the container background, letting diagrams blend directly into the page.

Inline display in Markdown preview

Large diagrams can dominate the preview and make it difficult to read surrounding content. Use the size limits to constrain diagram dimensions:

SettingDefaultDescription
Limit maximum widthOffWhen enabled, constrains diagram width to the specified pixel value
Maximum width1200 pxMaximum width in pixels (100 - 20,000)
Limit maximum heightOffWhen enabled, constrains diagram height to the specified pixel value
Maximum height800 pxMaximum height in pixels (100 - 20,000)

Diagrams that exceed the configured limits are scaled down proportionally. Diagrams smaller than the limits are not affected.

Settings take effect immediately in all open Markdown previews.