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.

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:

---

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