Skip to content

Markdown Basics

Markdown is a simple way to format text using special characters. This page covers all the basics you need to know.

Headings create section titles. Use # symbols at the beginning of a line.

MarkdownResult
# Heading 1Largest heading
## Heading 2Second-level heading
### Heading 3Third-level heading
#### Heading 4Fourth-level heading
##### Heading 5Fifth-level heading
###### Heading 6Smallest heading

When to use: Use headings to organize your document into sections. The outline panel will display your heading structure for easy navigation.

MarkdownResultUse case
**bold text**bold textEmphasize important words
*italic text*italic textTitles, terms, subtle emphasis
~~strikethrough~~strikethroughShow deleted or outdated text
***bold and italic***bold and italicStrong emphasis

Use -, *, or + at the beginning of each line:

- First item
- Second item
- Nested item
- Another nested item
- Third item

Use numbers followed by a period:

1. First step
2. Second step
3. Third step

Use - [ ] for unchecked and - [x] for checked items:

- [x] Completed task
- [ ] Pending task
- [ ] Another task
[Link text](https://example.com)
![Alt text](path/to/image.png)

You can use relative paths for local images or URLs for online images.

Use > at the beginning of a line to create a quote:

> This is a blockquote.
> It can span multiple lines.

When to use: Highlight important information, quote sources, or add notes.

Start a blockquote with a special marker and it becomes a colored callout box with an icon — the same syntax GitHub uses:

> [!NOTE]
> Useful information that readers should know, even when skimming.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information readers need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
MarkerColorUse case
[!NOTE]BlueGeneral information
[!TIP]GreenHelpful hints
[!IMPORTANT]PurpleThings the reader must not miss
[!WARNING]YellowPotential problems
[!CAUTION]RedDangerous or irreversible actions

A few rules, matching GitHub’s behavior:

  • The marker must be on its own line, as the first line of the quote. > [!NOTE] extra text stays a plain quote
  • The alert needs at least one line of body text after the marker
  • The marker is not case-sensitive — [!note] works too
  • Only top-level quotes become alerts. A quote nested inside a list or inside another quote stays plain

Alerts also appear in HTML and PDF exports. The titles (Note, Tip, and so on) are always shown in English, just like on GitHub.

Wrap text in backticks for inline code: `code here`

Use triple backticks for multi-line code. Specify a language for syntax highlighting:

```javascript
function hello() {
console.log("Hello, world!");
}
```

Bokuchi supports syntax highlighting for over 190 programming languages.

Use pipes | and dashes - to create tables:

| Name | Role | Status |
|---------|----------|---------|
| Alice | Designer | Active |
| Bob | Engineer | Active |

Create a divider line with three or more dashes:

---

Type an emoji name between colons and the preview shows the emoji:

Launch day! :rocket: :tada:

Result: Launch day! 🚀 🎉

Bokuchi understands the same shortcodes as GitHub, so any name that works in a GitHub comment works here. Shortcodes are converted in the preview and in HTML and PDF exports; the text in your file stays as you typed it.

  • Names are lowercase — :ROCKET: stays as text
  • Unknown names are shown as-is
  • Shortcodes inside inline code or code blocks are never converted

If you’d rather keep shortcodes as plain text, turn off Emoji Shortcodes in Settings > Advanced > Rendering Extensions.

When KaTeX is enabled in Settings > Advanced > Rendering Extensions, you can render math expressions.

Inline math — wrap with single dollar signs:

The formula $E = mc^2$ is well known.

Display math — wrap with double dollar signs:

$$
\sum_{i=1}^{n} x_i
$$

When Mermaid is enabled in Settings > Advanced > Rendering Extensions, you can create diagrams using ```mermaid fenced code blocks.

```mermaid
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Result A]
B -->|No| D[Result B]
```

Mermaid supports flowcharts, sequence diagrams, class diagrams, state diagrams, and more.

Bokuchi supports special visual effects in the preview. Wrap content between :::effectName and ::: markers:

:::rainbow
This text displays in rainbow colors.
:::

Available effects:

EffectDescription
shakeText shakes back and forth
rainbowText cycles through rainbow colors
glowText pulses with a glow effect
bounceText bounces up and down
blinkText blinks on and off
Rainbow text effect displayed in the preview