Mermaid Ink oEmbed

mermaid.ink

Mermaid Ink is a diagramming tool that allows users to create flowcharts and other diagrams. Developers can embed generated images and SVG diagrams by using the oEmbed URL patterns, which include links for both standard images and SVG formats. Consumers such as WordPress, Slack, and other CMS or chat platforms can call its oEmbed endpoint to turn Mermaid Ink URLs into rich embeds — without writing custom integration code. Below are the endpoint details, supported URL patterns, and response formats for Mermaid Ink.

1
Endpoint
2
URL patterns
json
Format
Yes
Discovery
Endpoint
https://mermaid.ink/services/oembed
Supported URL patterns
https://mermaid.ink/img/* https://mermaid.ink/svg/*
Formats: json Link-tag discovery enabled

Test a Mermaid Ink URL

See the live oEmbed response and a rendered preview.

Open URL Tester