Markdown Syntax Reference
SoloMD supports CommonMark, GitHub Flavored Markdown (GFM), and rich writing extensions — all rendered in-place in Live Edit as well as in Split and Preview modes.
Headings & Auto-Numbering
# H1
## H2
### H3
#### H4 Tip: Use Paragraph → Auto-Number Headings (1 / 1.1 / 1.1.1) for a one-shot numbering pass, or turn on “Automatically number 1–6 headings” in Settings → General so hierarchical numbers update automatically whenever headings are added, deleted, or moved.
Table of contents
[TOC] Put [TOC] on a line by itself to generate a linked, nested table of contents from the document headings.
Emphasis, Highlights & Sub/Superscripts
*italic* or _italic_
**bold** or __bold__
***bold italic***
~~strikethrough~~
==highlighted text== (Ctrl/⌘ + Shift + H)
`inline code`
H~2~O (subscript) and X^2^ (superscript)
<u>underline</u> and <kbd>Ctrl+S</kbd> Lists, Task Lists & Indented Code Blocks
- Unordered item
- Nested item (Tab to indent, Shift+Tab to outdent)
1. First item (Enter continues with 2. and auto-renumbers)
2. Second item
Press Shift+Enter for a soft break to insert an aligned code fence inside the list:
```python
print("Preserves list indentation and auto-pads multi-line pastes")
```
- [x] Completed task
- [ ] Pending task #work 📅 2026-11-05 ⏫ Per-section numbering: ordered lists separated by headings, horizontal rules, code fences, or tables start fresh at 1., and typing 1. manually starts a new numbering run.
WikiLinks, Links & Images
[[Another Note]]
[[folder/note|Custom Label]]
[External link](https://solomd.app "Tooltip")
 In Live Edit, hold Ctrl (⌘ on macOS) and click a link to open it in your browser. Standalone images, images inside list items or blockquotes, linked images, and reference-style images all render in-place.
GitHub-style Callouts & Blockquotes
> [!NOTE]
> Supports NOTE, TIP, IMPORTANT, WARNING, and CAUTION callouts.
> Regular blockquotes can also contain nested GFM tables in Live Edit and Preview. Code Blocks
```rust
fn main() {
println!("Hello, SoloMD!");
}
```
Typing ``` offers language autocomplete. Raw HTML tags (like <div> or <template>), math delimiters, and tables inside fenced code blocks stay completely inert. Pressing Ctrl/⌘ + A once inside a code block selects only the code block body; pressing it a second time selects the whole document.
Tables
| Left | Center | Right |
| :--- | :----: | ----: |
| a | b | c |
Click any cell in Live Edit to place the caret directly inside that row and column. The floating table toolbar lets you add/remove rows and columns or type exact Cols × Rows dimensions. Pasting cells from Excel or WPS converts them automatically into a Markdown table.
Math (KaTeX — $ and LaTeX \(...\))
Inline: $a^2 + b^2 = c^2$ or \(a^2 + b^2 = c^2\)
Block (supports $$...$$ or \[...\]):
$$
\int_0^\infty e^{-x^2} \, dx = \frac{\sqrt\pi}{2}
$$ Mermaid Diagrams, PlantUML & tldraw Whiteboards
```mermaid
flowchart LR
A["Start (parentheses & colons auto-quoted)"] --> B{Decision}
B -->|Yes| C[Done]
``` - Mermaid v11: supports flowcharts, sequence, class, state, ER, gantt, pie, and mindmap diagrams, with automatic quoting for labels containing
@,(), or:. - tldraw Whiteboards: insert a
```tldrawblock (or type/whiteboard) to embed an interactive drawing canvas stored directly inside your Markdown file.
Footnotes & YAML Front-matter
---
title: Weekly Notes
date: 2026-11-02
tags: [markdown, notes]
---
Here is a footnote reference[^1].
[^1]: Footnotes render cleanly and survive DOCX and PDF export.