Skip to content
Back to skills

Write Pandoc Markdown

ASecurity

Apply Pandoc Markdown conventions for academic papers with LaTeX output: math, citations, and raw LaTeX. For plain GFM, use write-markdown.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
developmentexpressgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned October 2, 2026

npx -y skills add cboone/agent-harness-plugins --skill write-pandoc-markdown --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Pandoc Markdown?

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

Security grade badge for Write Pandoc Markdown
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cboone-write-pandoc-markdown/badge)](https://www.skillsdirectory.com/skills/cboone-write-pandoc-markdown)

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
---
name: write-pandoc-markdown
description: >-
  Apply Pandoc Markdown conventions for academic papers with LaTeX output: math,
  citations, and raw LaTeX. For plain GFM, use write-markdown.
---

# Write Pandoc Markdown

Apply the Pandoc Markdown conventions from the reference files below when
creating or editing academic papers authored in Pandoc-flavored Markdown.

This skill covers Pandoc extensions and the Markdown-to-LaTeX pipeline. For
GFM formatting and markdownlint rules, see the `write-markdown` skill instead.

Document titles belong in YAML frontmatter (`title:`), not as a body `#`
heading. The frontmatter title is the implicit H1, so the first real body
section starts at `##`.

## Core Principles

1. **Plain text sustainability** -- Markdown source should remain readable and
   editable decades from now, independent of any tool
1. **Separation of content and formatting** -- write content in Markdown; let
   the template and build pipeline handle visual presentation
1. **Pandoc syntax over raw LaTeX when possible** -- use `[@key]` for
   citations, `$...$` for math, Markdown headings for sections; fall back to
   raw LaTeX only for constructs Pandoc cannot express
1. **Format-independent content** -- raw LaTeX blocks are invisible in HTML and
   DOCX output; prefer Pandoc-native syntax for maximum portability

## Workflow

1. Review against the essential checklist:
   `./references/essential/checklist.md`
1. For specific questions, consult the comprehensive references below

## Reference Navigation

**Quick reviews (default):**

- `references/essential/checklist.md` -- condensed, actionable rules

**Deep dives by topic:**

- `references/comprehensive/math-and-citations.md` -- math delimiter rules,
  currency escaping, citation syntax, natbib vs citeproc
- `references/comprehensive/cross-references.md` -- raw LaTeX spans,
  pandoc-crossref, section labels, filter ordering
- `references/comprehensive/raw-latex-blocks.md` -- when to use raw LaTeX,
  fenced block syntax, inline raw spans, theorem environments
- `references/comprehensive/yaml-frontmatter.md` -- academic metadata fields,
  template variables, header includes, field escaping
- `references/comprehensive/build-pipeline.md` -- two-stage build, Pandoc
  flags, PDF engines, Lua filters

## Sources

- MacFarlane, J. _Pandoc User's Guide_. pandoc.org.
- Yakimova, N. _pandoc-crossref_. GitHub.
- Drescher, D. and Gessler, A. _Pandoc Scholar_.
- Programming Historian. "Sustainable Authorship in Plain Text Using Pandoc
  and Markdown."

Files in this skill

  • SKILL.md2.5 KB
  • references/comprehensive/build-pipeline.md14.4 KB
  • references/comprehensive/cross-references.md10.2 KB
  • references/comprehensive/math-and-citations.md8.8 KB
  • references/comprehensive/raw-latex-blocks.md10.5 KB
  • references/comprehensive/yaml-frontmatter.md10.9 KB
  • references/essential/checklist.md3.1 KB

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.

Comments

Loading comments…