Render Mermaid diagrams and Markdown files directly inside the Bitbucket repository file viewer — no external tools, no copy-pasting. Open any .md, .mmd, or .mermaid file and diagrams appear instantly, beautifully rendered.
.md
.mmd
.mermaid
Install the app on your Bitbucket workspace in 3 steps:
The file viewer replaces the default code view for supported file types. It renders the file content inline — no extra clicks required.
A toolbar at the top of the viewer lets you switch between Rendered and Source views at any time. The source view shows the raw file content with syntax highlighting.
Large diagrams can be zoomed and panned directly in the viewer. Use the + / − / Reset controls in the sidebar, or scroll to zoom and drag to pan.
The Mermaid Editor is accessible from the left navigation of any repository. It provides a live preview environment where you can write and experiment with Mermaid syntax before committing it to your repo.
Six built-in templates let you get started in one click:
The editor and preview panel update as you type (with a short debounce). Syntax errors are shown inline so you can fix them without leaving the editor.
The app supports the full Mermaid diagram library. Common types include:
Embed a diagram in any Markdown file using a fenced code block:
```mermaid flowchart TD A[Push to main] --> B{Tests pass?} B -->|Yes| C[Deploy to staging] B -->|No| D[Notify author] C --> E[Manual approval] E --> F[Deploy to production] ```
Six diagram themes are available. Your selection is remembered per browser and syncs across all diagrams on the page.
Need assistance or have feedback? We're here to help.
Email: [email protected]