SuiLang Markdown EditorWrite instantly, nothing leaves your browser, paste into any editor

Guides / Markdown syntax cheat sheet

Markdown syntax cheat sheet

Everything you actually use, on one page

Markdown is small enough to learn in an afternoon. Below is the order you will actually need it in. Paste anything into the editor to see it rendered.

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4

Six levels, with a space after the hashes. For articles, two or three levels are plenty.

Emphasis

ResultSyntax
Bold**bold**
Italic*italic*
Strikethrough~~strikethrough~~
inline code`inline code`

Lists and task lists

- Bullet item
- Second item
  - Indent two spaces for a sub-item

1. Numbered item
2. Second item

- [x] Done
- [ ] Still to do

Task lists render as checkboxes — handy for checklist-style posts.

Quotes, dividers and links

> A quote, for a conclusion or a pull line

---

[SuiLang Tools](https://suilang.net)

Links are [label](url) and survive the copy-to-WYSIWYG path.

Images

![alt text](https://example.com/pic.png)

The easy route is to drag an image straight into the editor or paste a screenshot: it is compressed and inlined locally, with no upload step. If a host blocks hot-linked images, re-upload the picture there.

Tables

| Action | Shortcut |
| --- | --- |
| Bold | ⌘ / Ctrl + B |
| Link | ⌘ / Ctrl + K |

The --- row is required. Align columns with :---, :---: or ---:.

Code blocks

```js
function hello(name) {
  return `Hello, ${name}`;
}
```

Name the language (js, python, bash, json, html, css, sql…) to get highlighting.

Math

Inline: $E = mc^2$

Display:

$$
\int_0^1 x^2 \, dx = \frac{1}{3}
$$

Formulas are extracted before Markdown parsing, so _, * and \ inside them are never mistaken for emphasis.

Diagrams (Mermaid)

```mermaid
flowchart LR
  A[Start] --> B{Decision}
  B -- Yes --> C[Do this]
  B -- No --> D[Do that]
```

The three you will use most: flowchart, sequenceDiagram and gantt.

Keyboard shortcuts

ActionShortcut
Bold⌘/Ctrl + B
Italic⌘/Ctrl + I
Link⌘/Ctrl + K
Inline code⌘/Ctrl + E
Download as .md⌘/Ctrl + S
Indent / outdentTab / Shift + Tab
Continue a listEnter

Next: turning Markdown into HTML you can paste anywhere.

Frequently asked questions

How much Markdown do I actually need to remember?

About a dozen things cover nearly everything: headings, emphasis, lists, quotes, links, images, code fences and tables. The rest you can look up on this page when the need comes up.

Can I paste these examples somewhere to try them?

Yes. Paste any snippet into the SuiLang editor and the preview updates as you type; the same source also pastes straight into dev.to, Hashnode, Obsidian or a static site generator.

Do math and diagrams need extra setup?

No. Inline math is $…$, display math is $$…$$, and diagrams go inside a ```mermaid fence — the editor renders both. A document that uses neither never downloads those libraries.

Can I use bold and links inside a table?

Yes: table cells accept **bold**, [links](url) and `inline code`. Use <br> when you need a line break inside a cell; pressing Enter breaks the table.

Best read with the editor open

It runs in the page, needs no install and no account, and never uploads your text.

Open the editor