Skip to content
Back to skills

Md2pdf

ASecurity

Render a markdown document to PDF (pandoc + typst, A4, 2 cm margins, emoji and Cyrillic OK). Use when a report or long result should go to the chat as a PDF file.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 13, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 13, 2026

npx -y skills add dmitry-markin/silta --skill md2pdf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Md2pdf?

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

Security grade badge for Md2pdf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dmitry-markin-md2pdf/badge)](https://www.skillsdirectory.com/skills/dmitry-markin-md2pdf)

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: md2pdf
description: Render a markdown document to PDF (pandoc + typst, A4, 2 cm margins, emoji and Cyrillic OK). Use when a report or long result should go to the chat as a PDF file.
---
Run `md2pdf.sh input.md out/name.pdf` (script is in this skill's directory), then send the PDF with send_file and a one-sentence caption.
Defaults live in `md2pdf.yaml` next to the script; a document's own YAML header overrides them. Keep the fonts set: without them pandoc's Typst template fails.
Markdown tables are fine in the PDF, and a title/date YAML header gives a title block.

## Phone-screen variant

For a PDF read on a phone: prepend this YAML header to a copy of the markdown and run md2pdf.sh on the copy; name the output `<slug>-phone.pdf`.

```yaml
---
papersize: a6
margin:
  x: 8mm
  y: 9mm
fontsize: 9.5pt
---
```

Files in this skill

  • SKILL.md830 B
  • md2pdf.sh752 B
  • md2pdf.typ1.2 KB
  • md2pdf.yaml201 B

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.