md2x
✓Convert Markdown files to PDF, DOCX, HTML, or full-page images (png/jpg/webp). Use `npx md2x <input.md> -f <docx|pdf|html|png|jpg|jpeg|webp> [options]`.
Installation
SKILL.md
Quick Start: Run npx md2x input.md for PDF, add -f docx for Word, -f html for web, or -f png for a full-page screenshot image. Customize with --theme (academic, minimal, etc.). Supports front matter config in markdown files.
For very tall documents, md2x will automatically split the output into multiple files: output.part-001.png, output.part-002.png, ...
| Option | Alias | Description | Default | Values |
Convert Markdown files to PDF, DOCX, HTML, or full-page images (png/jpg/webp). Use `npx md2x <input.md> -f <docx|pdf|html|png|jpg|jpeg|webp> [options]`. Source: larchliu/md2x.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/larchliu/md2x --skill md2x- Source
- larchliu/md2x
- Category
- #Documents
- Verified
- ✓
- First Seen
- 2026-02-15
- Updated
- 2026-02-18
Quick answers
What is md2x?
Convert Markdown files to PDF, DOCX, HTML, or full-page images (png/jpg/webp). Use `npx md2x <input.md> -f <docx|pdf|html|png|jpg|jpeg|webp> [options]`. Source: larchliu/md2x.
How do I install md2x?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/larchliu/md2x --skill md2x Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/larchliu/md2x
Details
- Category
- #Documents
- Source
- skills.sh
- First Seen
- 2026-02-15