Workflow

Export Pele Diagrams to SVG, PNG and PDF

Choose SVG or PNG for your Pele diagrams, keep the editable source, and use browser printing for PDF. Follow the export steps and check the result.

.mmd → SVG / PNG / PDF

flowchart LR
  A[Draft] --> B[Review]

Use the same source for each format. Save .mmd first, select SVG and export, then select PNG and export. For PDF, select PDF and open Print / PDF; save through the browser print dialog. Inspect the downloaded files in their destination application before sharing. Fix preview errors before exporting; check the diagram theme for color differences and the receiving application for font changes.

  1. Download source → diagram.mmd
  2. Export → SVG → Export SVG
  3. Export → PNG → Export PNG

Mermaid to SVG Converter · Mermaid to PNG Converter

Pele Editor guide · Published

Keep an editable master

An exported picture captures a result; the .mmd source preserves the instructions needed to change it. Save the source before sending artwork to another team. Use matching names, such as onboarding.mmd and onboarding.svg, and keep them beside the document they explain. A reader can use the image immediately while an author can update the source later.

Match the format to the destination

Choose the format around how the diagram will be consumed. Pele Editor offers vector and raster exports; its PDF option opens a browser print view. That distinction matters when automating delivery or expecting a file to download immediately.

Match the format to the destination
FormatBest fitTradeoff
.mmd sourceFuture edits and source controlNeeds a compatible renderer
SVGScalable documentation and vector workflowsDestination must accept SVG; fonts can vary
PNGSlides, tickets and image attachmentsChoose enough resolution for the final size
JPGDestinations requiring JPEGLossy compression can soften thin text and lines
WebPWeb image workflowsConfirm the receiving application accepts it
PDF via printPrint or paginated deliveryUse the browser dialog to select paper and save

Carry the palette with the image

Inline Pele diagrams can inherit colors from the host page through CSS variables. A standalone file cannot depend on that page’s wrapper. This editor’s SVG export resolves the diagram palette for the exported file. Choose the intended light or dark diagram theme before export, then inspect the result against the background where it will appear. A dark diagram placed on a white slide may need an intentional background rather than a transparent edge.

Protect text readability

For raster output, look at the image at the size readers will actually see. A high-resolution export cannot rescue a diagram that contains too many tiny labels. Reduce detail, shorten labels or split the view before increasing image dimensions. SVG keeps geometry scalable, but font availability can still affect the way another application displays text. Open the exported file in the receiving application before placing it in a final presentation.

Print the whole story

For PDF, open the print view and inspect orientation, margins and scaling in the browser dialog. Wide diagrams may work better on a landscape page; tall flows may need a simpler summary. Keep explanatory text in the surrounding document so the diagram remains understandable when printed without interactive controls. Do not rely on source-editor zoom to define the exported area: exports describe the diagram, not a screenshot of the current editing viewport.

Try it in the editor ↗