agentsclimarketplace

Markdown pdf export

Skill MarsonShine/ai-skills/skills/markdown-pdf-export

Export Markdown to a polished, print-ready PDF or configure a reusable local Markdown-to-PDF workflow. Use for Markdown 转 PDF, export styling, margins, fonts, images, or page layout. Do not use for editing existing PDFs, converting non-Markdown source files, or general document writing.From its SKILL.md

Install
npx -y skills add MarsonShine/ai-skills --skill markdown-pdf-export

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

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 3 stars3 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

2.1 KB, as published. Nobody here has run it

Markdown PDF Export

Use this skill to turn markdown deliverables into repeatable PDF outputs. Default to leaving behind a reusable script + config setup instead of a one-off command.

Compatibility

Works best on Windows with PowerShell, Node.js 22+, Pandoc, and Microsoft Edge or Chrome. The PowerShell wrapper stays thin; scripts/export_markdown_pdf.ts validates config, runs Pandoc, and prints stable PDFs through a headless browser.

Runtime layout

FileRole
scripts/export_markdown_pdf.ps1Windows entrypoint
scripts/export_markdown_pdf.cmddouble-clickable wrapper
scripts/export_markdown_pdf.tsconfig validation, Pandoc HTML build, browser PDF print
assets/*.cssbuilt-in print presets
assets/export-config.example.jsonstarter config
references/preset-selection.mdpreset selection rules

Default workflow

  1. Identify the markdown source files and target PDF names.
  2. Choose a preset:
    • resume for resumes and profile sheets
    • compact for one-page handouts or summaries
    • default for general reports and notes
  3. If the user wants repeatability, copy the script, wrapper, CSS preset, and example config into the workspace.
  4. Fill the config and run scripts/export_markdown_pdf.ps1.
  5. Verify the PDF exists and is non-empty.

Config shape

Use assets/export-config.example.json as the template.

Supported document fields:

  • input
  • output
  • title
  • preset
  • css
  • resourcePath
  • virtualTimeBudget

Use preset for built-in styles. Use css only when the user explicitly wants a custom stylesheet.

Output rules

  • Prefer PDFs next to the source files unless the user asked for another location.
  • Keep styles print-safe and boring.
  • Surface Pandoc, browser, or missing-file errors directly.

Keep looking

Skills are one crate of 609,856. 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.