Markdown

Live Markdown preview, Mermaid diagrams, SVG badges, and preview modes.

Rope Notes has a live Markdown preview that renders your source as you type. Open a .md file and use the view toggle to switch modes.

Preview modes

ModeBehaviour
Editor onlyPlain source editing
Side by sideSource on the left, live preview on the right — scrolls in sync
Preview onlyFull-window rendered preview (hides the source pane)

Cycle through modes from the editor toolbar or the View menu.

Standard Markdown

Most CommonMark features are rendered live in the preview:

  • Headings (# through ######)
  • Bold (**bold**), italic (*italic*), strikethrough (~~strikethrough~~)
  • Ordered and unordered lists
  • Links ([text](url)) and images (![alt](url))
  • Blockquotes (>)
  • Inline code (`code`) and fenced code blocks with syntax highlighting
  • Tables using pipes and dashes
  • Horizontal rules (---)

Code blocks

Fenced code blocks get syntax highlighting for the language specified after the opening backticks. Supported languages include Bash, C/C++, CSS, Dart, Diff, Go, Java, JavaScript, JSON, Kotlin, Markdown, PHP, Python, Ruby, Rust, SQL, Swift, TypeScript, XML/HTML, YAML, and more.

Source:

```python
def hello():
    print("Hello, Rope Notes!")
```

Rendered:

def hello():
    print("Hello, Rope Notes!")

Mermaid diagrams

Write diagrams as fenced code blocks with the mermaid language tag. They render inline in the preview and in the AI agent's chat responses.

Source:

```mermaid
flowchart LR
    A[Start] --> B{Is it working?}
    B -->|Yes| C[Done]
    B -->|No| D[Fix it]
    D --> B
```

Rendered:

flowchart LR A[Start] --> B{Is it working?} B -->|Yes| C[Done] B -->|No| D[Fix it] D --> B

Supported diagram types

TypeDescription
Flowchartflowchart TD / flowchart LR — directional graphs
Sequence diagramsequenceDiagram — message flows between actors
Pie chartpie — proportional data
Gantt chartgantt — project timelines
Timelinetimeline — chronological events
Class diagramclassDiagram — object-oriented structures
State diagramstateDiagram-v2 — state machines
Kanbankanban — board columns and cards
XY chartxyChart — scatter / line / bar charts
Radar chartradarChart — multi-axis comparisons

Interactive controls

Mermaid diagrams are interactive:

  • Pan — drag with mouse or touch
  • Zoom — pinch on touch devices, Ctrl+scroll on desktop
  • Initial fit — large diagrams auto-scale to fit the viewport on first render
  • Copy source — click the copy button in the diagram header to copy the raw Mermaid source

Theme

Diagrams follow the editor's colour scheme — light mode uses a neutral palette, dark mode uses a dark palette. This is automatic based on your theme selection in Preferences → View.

SVG badges

Shields.io-style badge SVGs (common in README.md files) render correctly in the preview, including proper text scaling. No special syntax is needed — just use a standard Markdown image:

Source:

![Build](https://img.shields.io/badge/build-passing-brightgreen)

Rendered:

Build

  • Editor — general editing, tabs, find/replace, diffs