Skip to content
Back to skills

Markdown To Pdf

ASecurity

Export a Markdown document, spec, or research findings as a formatted PDF using md-to-pdf, pandoc, or markdown-pdf, saving the result to the session workspace. Use when the user wants to create or generate a PDF from a Markdown file.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsbash

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add Erriccc/osborn --skill markdown-to-pdf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Markdown To Pdf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Markdown To Pdf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erriccc-markdown-to-pdf/badge)](https://www.skillsdirectory.com/skills/erriccc-markdown-to-pdf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: markdown-to-pdf
description: Export a Markdown document, spec, or research findings as a formatted PDF using md-to-pdf, pandoc, or markdown-pdf, saving the result to the session workspace. Use when the user wants to create or generate a PDF from a Markdown file.
---

# Skill: Markdown to PDF

Export Markdown documents as formatted PDF files.

## When to use
When the user  /wants to create a PDF from a Markdown file, spec, or research findings.

## How to execute

Option 1 — Using md-to-pdf (best quality):
```bash
npx --yes md-to-pdf "<MARKDOWN_PATH>"
```
This creates a PDF alongside the source file with the same name.

Option 2 — Using pandoc (if available):
```bash
pandoc "<MARKDOWN_PATH>" -o "<OUTPUT_PATH>.pdf" --pdf-engine=wkhtmltopdf
```

Option 3 — Using markdown-pdf:
```bash
npx --yes markdown-pdf "<MARKDOWN_PATH>" -o "<OUTPUT_PATH>.pdf"
```

## Output
- Save the PDF to the session workspace (e.g., `library/{name}.pdf`)
- Confirm the output path and file size to the user
- If the source is spec.md, name the output `spec-export.pdf`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.