Headings
Markdown
# Heading 1
## Heading 2
### Heading 3Rendered
Heading 1
Heading 2
Heading 3
Quick reference
The syntax you will use most often, paired with clear rendered examples. Copy a snippet, adapt it, and preview it in Markdown Lens.
Start with the building blocks for readable Markdown documents.
Markdown
# Heading 1
## Heading 2
### Heading 3Rendered
Heading 1
Heading 2
Heading 3
Markdown
**Bold text**
*Italic text*
~~Strikethrough~~Rendered
Bold text
Italic text
Strikethrough
Markdown
[Markdown Lens](https://markdownlens.ayushdev.com)
Rendered
Markdown
> Markdown keeps plain text readable.
>
> Add another line with the same marker.Rendered
Markdown keeps plain text readable.
Add another line with the same marker.
Use indentation to create hierarchy and square brackets to track work.
Markdown
- First item
- Second item
- Nested item
1. Plan
2. Write
3. ReviewRendered
Markdown
- [x] Draft the README
- [ ] Add examples
- [ ] Request reviewRendered
Separate headers with dashes and columns with vertical bars.
Markdown
| Feature | Status |
| --- | ---: |
| Tables | Ready |
| Mermaid | Ready |
| Math | Ready |Rendered
| Feature | Status |
|---|---|
| Tables | Ready |
| Mermaid | Ready |
| Math | Ready |
Use backticks for inline code and triple backticks for fenced blocks.
Markdown
Run `npm run dev` to start the app.Rendered
Run npm run dev to start the app.
Markdown
```ts
const greeting = "Hello, Markdown!";
console.log(greeting);
```Rendered
const greeting = "Hello, Markdown!";
console.log(greeting);Markdown Lens recognizes Mermaid fences and KaTeX-compatible math delimiters.
Markdown
```mermaid
flowchart LR
A[Write] --> B[Preview]
B --> C[Publish]
```Rendered
Markdown
Inline: $E = mc^2$
Block:
$$
\int_0^1 x^2\,dx = \frac{1}{3}
$$Rendered
Inline: E = mc²
∫₀¹ x² dx = ⅓
Paste any example into the editor to see GitHub-flavored Markdown, Mermaid, code highlighting, and math render together.
Open Markdown Lens