agentsclimarketplace

Md to pdf

Skill fabioc-aloha/Alex_Skill_Mall/plugins/converters/md-to-pdf

Convert Markdown to PDF via Pandoc with two rendering engines.From its SKILL.md

Install
npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill md-to-pdf

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, 346 tokens by cl100k_base, as published. Nobody here has run it

md-to-pdf

Convert Markdown to PDF via Pandoc with two rendering engines.

When to Use

  • Reports, manuscripts, and printable documentation
  • Documents needing high-fidelity typography (LaTeX engine)
  • Faster turnaround drafts (HTML/wkhtmltopdf engine)

What's Here

md-to-pdf.cjs — Node script that wraps Pandoc.

External Dependencies

  • node (≥ 16)
  • pandoc (≥ 3.0) on PATH
  • One of:
    • lualatex / TeX Live (high-quality typography, slower)
    • wkhtmltopdf (HTML route, faster, less precise)

Usage

node md-to-pdf.cjs input.md
node md-to-pdf.cjs input.md --engine lualatex
node md-to-pdf.cjs input.md --engine wkhtmltopdf
node md-to-pdf.cjs input.md --output custom.pdf

The script auto-detects available engines if --engine is omitted, preferring lualatex when present.

Frontmatter Hooks

YAML frontmatter is forwarded to Pandoc. Useful keys:

---
title: My Document
author: Your Name
date: 2026-04-28
toc: true
geometry: margin=1in
---

Notes

  • Mermaid diagrams are pre-rendered to PNG and embedded
  • Code blocks get syntax highlighting via Pandoc's --highlight-style
  • Round-trip from md-to-html → wkhtmltopdf is roughly equivalent to the HTML engine

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.