skills/smithery.ai/markdown-preview

markdown-preview

SKILL.md

Markdown Preview Generator — Browser-Ready HTML from Markdown

Generate self-contained HTML files from markdown content and automatically open them in the user's default browser.

What This Skill Does

  • Accepts GitHub-flavored markdown, plain text, and Mermaid diagrams
  • Validates all Mermaid diagrams in document at once (single validation pass)
  • Generates single-page HTML with embedded libraries (marked.js, Prism.js, Mermaid.js)
  • Applies professional styling (GitHub-style, dark mode, or minimal)
  • Saves HTML to system temp directory with unique filename
  • Auto-opens preview in default browser (cross-platform: macOS, Linux, Windows)
  • Returns file path and execution status

When to Use

Installs
2
First Seen
Mar 11, 2026