From docverter
Convert Markdown files to PDF or DOCX formats, merge directories of markdown into a single PDF, and convert Excalidraw diagrams to SVG or PNG using the docverter CLI. Use this skill whenever the user wants to export documentation, create professional Word documents from markdown, generate printable PDFs, merge multiple markdown files into one document, convert Excalidraw diagrams to images, or produce any formatted document from .md files. Trigger on requests like 'convert to PDF', 'export as DOCX', 'make a Word document', 'generate PDF from markdown', 'create a report', 'export this doc', 'I need a PDF', 'make this into a Word file', 'export excalidraw', 'merge docs', 'combine markdown files', 'directory to PDF', or any task involving markdown-to-document conversion — even if the user just says 'export' or 'print-ready' without specifying the format.
How this skill is triggered — by the user, by Claude, or both
Slash command
/docverter:md-converterThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Convert markdown files to professional PDF and DOCX documents, merge entire directory trees of markdown into a single PDF, and export Excalidraw diagrams to SVG/PNG images using the `docverter` CLI.
Convert markdown files to professional PDF and DOCX documents, merge entire directory trees of markdown into a single PDF, and export Excalidraw diagrams to SVG/PNG images using the docverter CLI.
docverter binary installed (brew install jorgemuza/tap/docverter).docx template files# Markdown to PDF (default)
docverter convert README.md
# Markdown to DOCX (requires template)
docverter convert README.md --format docx --template ./templates
# Markdown to DOCX with single-page layout
docverter convert README.md -f docx --template ./templates --type single-page
# Excalidraw to SVG (default)
docverter convert architecture.excalidraw
# Excalidraw to PNG with custom scale
docverter convert architecture.excalidraw --format png --scale 3
# Batch convert
docverter batch "docs/**/*.md" --format pdf
docverter batch "**/*.excalidraw" --format png
# Merge directory into single PDF
docverter merge docs/design/ -o design-docs.pdf
# Preview merge order
docverter merge docs/design/ --dry-run
# Preview (dry run)
docverter batch "docs/*.md" --format docx --template ./templates --dry-run
The --type flag controls the document structure:
| Type | Description |
|---|---|
multipage | Cover page + Table of Contents + content body (default) |
single-page | Content body only, no cover or TOC |
letterhead | Letterhead-styled document |
rfp | RFP/proposal template |
Title, subtitle, and date are extracted from YAML frontmatter:
---
title: "Architecture Overview"
subtitle: "Q1 2026 Review"
date: "March 20, 2026"
---
If title is omitted, the first # H1 heading is used. If no H1, the filename is title-cased.
docverter convert doc.md --highlight monokai
Available: github (default), monokai, solarized-light, atom-one-dark.
Merge an entire directory tree of markdown files into a single PDF with a cover page, table of contents, and page breaks between files.
# Basic merge
docverter merge docs/design/ -o design-docs.pdf
# Preview file ordering
docverter merge docs/design/ --dry-run
# With custom highlight style
docverter merge docs/design/ -o design-docs.pdf --highlight monokai
File ordering per directory: INDEX.md first (case-insensitive), then regular .md files alphabetically, then subdirectories alphabetically (depth-first recursion).
The --output/-o flag is required for merge.
Generate a report from markdown:
docverter convert docs/report.md -f docx --template ./templates --type multipage
Export all docs as PDFs:
docverter batch "docs/**/*.md" --format pdf
Export Excalidraw diagrams for documentation:
docverter batch "**/*.excalidraw" --format png --scale 3
--template flag must point to a directory containing Word template files matching the --type.npx excalidraw-brute-export-cli under the hood..md defaults to PDF, .excalidraw defaults to SVG.docverter README.md is equivalent to docverter convert README.md.For full command details and all flags, see references/commands.md.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub jorgemuza/claude-plugins --plugin docverter