Skip to main content
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
FeatureDefault BehaviorExport
Scripts / handlersStripped / inert textSanitized HTML
External imagesBlocked placeholderOpt-in toggle
export function greet(name: string): string {
  return `Hello, ${name}`;
}

Blocked remote image (External preview image): https://example.com/demo-architecture.png