pandoc

Convert documents between Markdown, DOCX, PDF, HTML, and LaTeX formats.

Updated May 13, 2026
One-click install
npx skills add https://github.com/Ricardo-Vae/codex-research-skills --skill pandoc-ricardo-vae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandoc
Source: https://github.com/Ricardo-Vae/codex-research-skills/tree/main/skills/pandoc
Command: npx skills add https://github.com/Ricardo-Vae/codex-research-skills --skill pandoc-ricardo-vae

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converting documents between formats (like Markdown, DOCX, PDF, HTML, and LaTeX) is often slow and inconsistent, and preserving formatting requires lots of manual tweaking.

Core Features & Use Cases

  • Markdown/document format conversion: Convert source documents to Word, PDF, HTML, LaTeX, and more with consistent structure.
  • Layout and formatting control: Generate tables of contents, tune typography via LaTeX engines, and apply styling for HTML-to-PDF workflows.
  • Practical workflows: Prepare Markdown for Google Docs by converting through DOCX, or create print-ready HTML when LaTeX is unavailable (then print to PDF).

Quick Start

Use the pandoc skill to convert your Markdown file to a styled, print-ready HTML page.

Frequently Asked Questions about pandoc

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

FAQPage Schema
How do I convert Markdown to DOCX for Google Docs without losing formatting?

To convert Markdown to DOCX for Google Docs, transform your source files while preserving headings, lists, and tables. The process generates a styled DOCX file ready for import into word processors.

Can I generate a PDF from Markdown using a LaTeX engine?

Yes, you can generate a PDF from Markdown by selecting a LaTeX engine during the conversion process. This allows you to tune typography and produce print-ready outputs for distribution directly from your source documents.

What is the best way to convert HTML to PDF for print-ready distribution?

The best way to convert HTML to PDF for print-ready distribution is applying optional flags for standalone output and styling. This workflow creates formatted HTML pages when LaTeX is unavailable, which can then be printed to PDF.

Does converting documents between formats preserve tables and lists?

Yes, converting documents between formats like Markdown, DOCX, and HTML preserves structural elements like tables, lists, and headings. The conversion applies consistent structure mapping to ensure formatting remains intact across output formats.

Do I need a pandoc installation to convert Markdown to LaTeX?

Yes, you need a pandoc installation to convert Markdown to LaTeX or other formats. The conversion requires correct input and output format identifiers along with optional flags for standalone output and TOC generation.