md2pdf

Convert Markdown files to PDF with GitHub-style formatting via command line.

421|49|Updated Jul 3, 2014
One-click install
npx skills add https://github.com/joshukraine/dotfiles --skill md2pdf-joshukraine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md2pdf
Source: https://github.com/joshukraine/dotfiles/tree/main/claude/.claude/skills/md2pdf
Command: npx skills add https://github.com/joshukraine/dotfiles --skill md2pdf-joshukraine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires md2pdf, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for converting Markdown files to PDFs with consistent formatting, especially those styled like GitHub's markdown.

Core Features & Use Cases

  • Markdown to PDF Conversion: Converts Markdown files to PDF with GitHub-style formatting.
  • Command Line Execution: Operates through the command line for easy integration with other scripts and tools.
  • Use Case: When you need to share a Markdown document that is styled to match GitHub's markdown, but in a more permanent and printable format.

Quick Start

Convert the Markdown file 'readme.md' to a PDF named 'readme.pdf'.

Frequently Asked Questions about md2pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to PDF with GitHub-style formatting?

To convert Markdown to PDF with GitHub-style formatting, you can use this command line tool to quickly transform Markdown files into printable PDF documents that match GitHub's visual styling.

Can I automate Markdown to PDF conversion within scripts?

Yes, you can automate Markdown to PDF conversion within scripts because this tool operates entirely via the command line, allowing seamless integration with existing automation tools and shell workflows.

Do I need the md2pdf dependency installed to convert Markdown files?

Yes, you need the md2pdf dependency installed to convert Markdown files, as this Skill relies on the underlying md2pdf tool to execute the formatting and PDF generation process.

What is the best way to share Markdown documents in a permanent format?

The best way to share Markdown documents in a permanent format is converting them to PDF, which preserves the GitHub-style layout while making the document printable and easier to distribute.

Does this command line PDF conversion tool support custom styling?

This command line PDF conversion tool focuses specifically on applying GitHub-style formatting to Markdown files, ensuring consistent output that matches the standard GitHub markdown appearance.