MD Reader

How to view Mermaid diagrams on Android

Updated:

Mermaid is a way to describe diagrams with text. In a markdown file it looks like a code block:

```mermaid
flowchart LR
  A[Idea] --> B{Worth it?}
  B -->|yes| C[Build]
  B -->|no| D[Drop]
```

A viewer with Mermaid support turns this into a real flowchart. Without it, you only see the code.

Where Mermaid shows up

See Mermaid diagrams on your phone

MD Reader draws Mermaid diagrams inside the app, without an internet connection.

  1. Open the .md file, or paste text with Paste from clipboard.
  2. Every mermaid code block is drawn as a diagram.
  3. Tap Show code above a diagram to see its source, and Show diagram to switch back.

Get it on Google Play

Supported diagram types

Mermaid supports many diagram types, including:

"This diagram can't be drawn"

If a diagram has a syntax error, MD Reader shows a short message instead of a blank space. Then:

Big diagrams on small screens

Wide diagrams keep their full size and scroll sideways, so labels stay readable. For complex ones, turn the phone sideways or use a tablet. See reading markdown on tablets and foldables.