markdown reference
reference for all markdown features available on this blog.
reference for markdown features and custom syntax available for blog posts.
text formatting
bold **bold**
italic *italic*
bold and italic ***bold and italic***
strikethrough ~~strikethrough~~
inline code `code`
link [text](url)
headings
markdown
## heading 2
### heading 3
#### heading 4markdown
- first item
- second item
- nested item
- third itemmarkdown
1. first step
2. second step
3. third stepmarkdown
- [ ] uncompleted task
- [x] completed task
- [ ] another pending itemmarkdown
> this is a blockquote.
> it can span multiple lines.markdown
```javascript
function hello() {
console.log("hello, world!");
}
```javascript
function hello() {
console.log("hello, world!");
}supported languages: javascript, typescript, tsx, jsx, python, css, html, json, bash, markdown, and more.
mermaid diagrams
markdown
```mermaid
graph TD
A[Start] --> B{Is it working?}
B -->|Yes| C[Great!]
B -->|No| D[Debug]
D --> B
```Loading diagram...
Loading diagram...
Loading diagram...
Loading diagram...
markdown
> [!NOTE]
> useful information that users should know.markdown
> [!TIP]
> helpful advice for doing things better.markdown
> [!IMPORTANT]
> key information users need to know.markdown
> [!WARNING]
> urgent info that needs immediate attention.markdown
> [!CAUTION]
> advises about risks or negative outcomes.markdown
> [!NOTE/Custom Title Here]
> content with a custom title.markdown
markdown


markdown
@video[Video caption](https://example.com/video.mp4)markdown
@gif[GIF description](https://example.com/animation.gif)markdown
@embed[Link title](https://example.com)markdown
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 || feature | syntax | example |
|---|---|---|
| bold | **text** |
bold |
| italic | *text* |
italic |
| code | `code` |
code |
collapsible sections
markdown
<details>
<summary>click to expand</summary>
hidden content goes here.
</details>hidden content goes here. supports any markdown:
- lists work fine
- bold text renders correctly
- even code:
const x = 1
function secret() {
return "this was hidden!";
}
quick reference
| element | syntax |
|---|---|
| bold | **text** |
| italic | *text* |
| strikethrough | ~~text~~ |
| code | `code` |
| link | [text](url) |
| image |  |
| heading | ## heading |
| quote | > quote |
| list | - item |
| ordered list | 1. item |
| task list | - [ ] task |
| table | ` |
| code block | ``` |
| mermaid | ```mermaid |
| note | > [!NOTE] |
| video | @video[caption](url) |
| gif | @gif[caption](url) |
| embed | @embed[title](url) |
| component | @component[Name] |
| collapsible | <details> |
react components
embed interactive React components directly in posts:
markdown
@component[PixelLoader]
@component[PixelLoaderDemo]pixel-loader
components render in a macOS-style frame. Props can be passed as JSON:
markdown
@component[ComponentName]({"prop": "value", "count": 5})available components: PixelLoader, PixelLoaderDemo, PixelLoaderAdjacencyDemo