pdf

Convert markdown files to PDFs with pandoc, xelatex, and mermaid diagrams.

Updated Mar 10, 2024
One-click install
npx skills add https://github.com/Mjvolk3/Swanki --skill pdf-mjvolk3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Mjvolk3/Swanki/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/Mjvolk3/Swanki --skill pdf-mjvolk3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the conversion of markdown files into professional-looking PDF documents, streamlining your documentation and reporting workflows.

Core Features & Use Cases

  • Markdown to PDF Conversion: Effortlessly transform your notes and documents into PDF format.
  • Diagram Support: Includes support for rendering mermaid diagrams within your PDFs.
  • Use Case: Convert your project documentation written in markdown into a shareable PDF report for stakeholders.

Quick Start

Use the pdf skill to generate a PDF from the markdown file located at notes/swanki.processing.pdf_processor.md.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert markdown to PDF with mermaid diagrams included?

Converting markdown to PDF with mermaid diagrams is handled automatically using pandoc and xelatex. The tool processes your specified markdown file, renders embedded mermaid diagrams, and outputs a validated PDF document.

What's the best way to generate a PDF report from markdown project documentation?

Generating a PDF report from markdown documentation is best handled by this tool, which uses pandoc and xelatex to produce professional-looking PDFs. It resolves input files from the notes directory and reports any conversion warnings or errors encountered.

Does this markdown to PDF conversion support xelatex and pandoc?

Yes, this markdown to PDF conversion explicitly supports both pandoc and xelatex as its underlying processing engines. It uses them to transform text files into formatted PDF documents, validating successful file creation and reporting any encountered errors.

How do I resolve input filenames when generating a PDF from markdown?

Resolving input filenames when generating a PDF from markdown is handled automatically by looking for specified files relative to the notes directory. The tool then generates the output PDFs in a designated directory after processing.

Why does my markdown to PDF conversion fail and how are errors reported?

Your markdown to PDF conversion might fail due to processing errors in the pandoc and xelatex rendering pipeline. The tool validates successful PDF creation and explicitly reports any warnings or errors encountered during the process to help you troubleshoot.