Markdown Guide
Postlark uses GitHub Flavored Markdown (GFM) via the marked library.
Supported Syntax
Section titled “Supported Syntax”Headings
Section titled “Headings”# H1## H2### H3Emphasis
Section titled “Emphasis”**bold** *italic* ~~strikethrough~~Links & Images
Section titled “Links & Images”[Link text](https://example.com)Inline: `code`
Fenced blocks with syntax highlighting:
```javascriptconst hello = 'world'```Code blocks include a copy button automatically.
Tables
Section titled “Tables”| Feature | Status ||---------|--------|| GFM tables | Supported || Alignment | Supported |Blockquotes
Section titled “Blockquotes”> This is a blockquote- Unordered item- Another item
1. Ordered item2. Another itemTask Lists
Section titled “Task Lists”- [x] Completed- [ ] Not doneHorizontal Rule
Section titled “Horizontal Rule”---Content Limits
Section titled “Content Limits”- Maximum content size: 1 MB
- Maximum 10 tags per post, each up to 50 characters
- Slug: auto-generated from title, supports Unicode (Korean, etc.)
XSS Protection
Section titled “XSS Protection”All rendered HTML is sanitized: <script>, <iframe>, <form>, <style> tags and on* event handlers are stripped automatically.