pandoc-docs

Convert documents between Markdown, HTML, PDF, Word, and EPUB formats using Pandoc.

1|1|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/Birdywen/genspark-agent --skill pandoc-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandoc-docs
Source: https://github.com/Birdywen/genspark-agent/tree/main/skills/pandoc-docs
Command: npx skills add https://github.com/Birdywen/genspark-agent --skill pandoc-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a universal document conversion toolset that transforms content between Markdown, HTML, PDF, Word, EPUB, and more, eliminating manual reformatting.

Core Features & Use Cases

  • Format conversion: Convert between Markdown, HTML, PDF, Word, EPUB, and other supported formats.
  • Styling and metadata: Apply custom templates, CSS, and metadata to control output appearance and information.
  • Batch processing: Convert multiple files in a single run to streamline workflows.
  • Use Case: Transform a collection of Markdown notes into a polished PDF deck or EPUB ebook for distribution.

Quick Start

Install Pandoc on your system, then try the following commands:

  • Convert Markdown to HTML: pandoc input.md -o output.html
  • Convert Markdown to PDF: pandoc input.md -o output.pdf
  • Convert HTML to Markdown: pandoc input.html -o output.md

Frequently Asked Questions about pandoc-docs

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

FAQPage Schema
How do I convert Markdown to PDF, Word, or EPUB?

To convert Markdown to PDF, Word, or EPUB, use Pandoc commands to transform input files into your desired output format. This eliminates manual reformatting by directly translating Markdown syntax into structured documents.

Do I need to install Pandoc separately to convert documents?

Yes, you need to install Pandoc separately on your system before converting documents. The Skill requires Pandoc as a dependency to execute format transformations between Markdown, HTML, PDF, Word, and EPUB.

Can I apply custom CSS and templates when converting HTML or PDF?

Yes, you can apply custom CSS and templates when converting HTML or PDF. Pandoc supports standalone output options with metadata and CSS customization to control the appearance and styling of your generated documents.

What is the best way to batch convert multiple Markdown files to EPUB?

The best way to batch convert multiple Markdown files to EPUB is using Pandoc's batch processing capabilities. This streamlines workflows by transforming a collection of Markdown notes into a polished EPUB ebook in a single run.

How do I convert HTML back to Markdown?

To convert HTML back to Markdown, run a Pandoc command specifying your HTML input file and Markdown output file. This reverses the typical document conversion workflow to extract plain text syntax from structured HTML.