Text Utilities
Markdown Editor & Sanitized Preview
Preview GitHub Flavored Markdown cleanly in your browser with remote images blocked by default and export sanitized HTML or .md files.
Sanitized Preview (raw HTML & scripts disabled)
Draftsbook GFM Preview
Write GitHub Flavored Markdown with live sanitized preview and export.
Features
- Headings, lists, blockquotes, and task checkboxes
- Tables & fenced code blocks
- Remote images blocked by default for privacy
| Feature | Default Behavior | Export |
|---|---|---|
| Scripts / handlers | Stripped / inert text | Sanitized HTML |
| External images | Blocked placeholder | Opt-in toggle |
export function greet(name: string): string {
return `Hello, ${name}`;
}
Blocked remote image (External preview image): https://example.com/demo-architecture.png