Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ropl-btc avatar

Markdown To Pdf

  • 5 installs
  • 1 repo stars
  • Updated July 29, 2026
  • ropl-btc/agent-skills

Renders Markdown files into clean, text-first local PDFs using a bundled Python renderer, defaulting to a pageless fit-to-content layout.

About

Converts Markdown into minimal local PDFs with a bundled Python script supporting headings, lists, and simple tables. A developer uses it to produce investor docs, memos, or briefs from Markdown without an external service.

  • Default pageless mode sizes one tall page to content height
  • Supports A4 and custom page dimensions via flags

Markdown To Pdf by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #525 of 688 Office & Documents skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ropl-btc/agent-skills --skill markdown-to-pdf

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars1
Last updatedJuly 29, 2026
Repositoryropl-btc/agent-skills

What it does

Renders Markdown files into clean, text-first local PDFs using a bundled Python renderer, defaulting to a pageless fit-to-content layout.

Files

SKILL.mdMarkdownGitHub ↗

Markdown To PDF

Use this skill to render Markdown files into clean local PDFs with the bundled renderer in scripts/markdown_to_pdf.py.

Default behavior

  • Prefer a pageless-style PDF: one tall page sized to the content height.
  • Use A4 width unless the user asks for something else.
  • Keep the output visually minimal and text-first.

Workflow

1. Confirm the input Markdown path and desired output PDF path. 2. Run the bundled renderer. 3. Use the default fit-to-content mode unless the user explicitly wants standard pages. 4. Verify the PDF was created and report the output path.

Commands

  • Pageless-style default:
python3 <skill-path>/scripts/markdown_to_pdf.py INPUT.md OUTPUT.pdf
  • Standard A4 pages:
python3 <skill-path>/scripts/markdown_to_pdf.py INPUT.md OUTPUT.pdf --page-mode a4
  • Custom page size:
python3 <skill-path>/scripts/markdown_to_pdf.py INPUT.md OUTPUT.pdf --page-mode custom --page-width-mm 210 --page-height-mm 297

Notes

  • The renderer intentionally supports a narrow Markdown subset: headings, paragraphs, bullets, numbered lists, and simple pipe tables.
  • The bundled CSS in assets/default.css mirrors the visual direction for browser-based workflows, but the primary path is the local Python renderer.
  • If the user asks for a different layout, page size, or denser typography, override the defaults explicitly.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.