Zo generate pdf

From zocomputer/skills · View interactive version

Zo generate pdf is an AI agent skill from the GitHub repository zocomputer/skills. Convert Markdown files to PDF format with professional formatting

How to use this skill

Skill file

Generate PDF from Markdown

Purpose

Convert Markdown files to professionally formatted PDF documents using pandoc.

Input

Steps

  1. Install pandoc and LaTeX:
apt-get update && apt-get install -y pandoc texlive-latex-base texlive-fonts-recommended texlive-xetex
  1. Convert the Markdown file to PDF with professional formatting:
pandoc "<user's_markdown_path>" \
  --pdf-engine=xelatex \
  --variable geometry:margin=1in \
  --variable fontsize=11pt \
  --variable linkcolor=blue \
  --highlight-style=tango \
  -o "<output_pdf_path>"
  1. Tell the user where the PDF file was saved.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.