Skip to content
Back to skills

Quickstart

ASecurity

pandoc is a universal document converter that reads and writes in dozens of formats.

  • 58 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
toolsbashgitdocumentation

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add javimosch/supercli --skill quickstart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quickstart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quickstart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-quickstart-a24503d2/badge)](https://www.skillsdirectory.com/skills/javimosch-quickstart-a24503d2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# pandoc Quickstart

pandoc is a universal document converter that reads and writes in dozens of formats.

## Commands
- `pandoc <resource> <action>` — Execute pandoc commands
- `pandoc self version` — Print pandoc version
- `pandoc convert markdown-to-html` — Convert Markdown to HTML
- `pandoc convert document` — Convert document between formats
- `pandoc list formats` — List supported input/output formats
- `pandoc _ _` — Passthrough to pandoc CLI

## Installation

```bash
brew install pandoc
```

## Basic Usage

### Convert Markdown to HTML
```bash
pandoc README.md -o README.html
```

### Convert to PDF (requires pdflatex or wkhtmltopdf)
```bash
pandoc document.md -o document.pdf
```

### Convert Word to Markdown
```bash
pandoc document.docx -o document.md
```

### Multiple formats
```bash
pandoc slides.md -t revealjs -o slides.html  # Reveal.js slides
pandoc article.md -t latex -o article.tex     # LaTeX
pandoc notes.md -t epub -o notes.epub         # EPUB
```

## Common Conversions

- Markdown → HTML, PDF, LaTeX, Word, EPUB
- HTML → Markdown, PDF, Word
- LaTeX → HTML, Word, PDF
- Docx → Markdown, HTML, PDF
- Epub → Markdown, HTML

## Key Options

- `-f FORMAT` - Input format (auto-detected from extension)
- `-t FORMAT` - Output format
- `-o FILE` - Output file
- `--template FILE` - Use custom template
- `--css STYLE.css` - Include CSS stylesheet
- `--toc` - Generate table of contents
- `-V VAR=VALUE` - Set template variable
- `--standalone` - Produce standalone document
- `--number-sections` - Number sections

## Real-world Examples

### Batch convert Markdown files
```bash
for f in *.md; do pandoc "$f" -o "${f%.md}.html"; done
```

### Generate PDF with styling
```bash
pandoc document.md --css style.css -V margin=2cm -o document.pdf
```

### Convert with table of contents
```bash
pandoc README.md --toc -o README.html
```

### Markdown slides to Beamer PDF
```bash
pandoc slides.md -t beamer -o slides.pdf
```

## Resources

- [Official Documentation](https://pandoc.org/)
- [GitHub Repository](https://github.com/jgm/pandoc)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.