skills/43-wentorai-research-plugins/skills/tools/document/markdown-academic-guide/SKILL.md
Write academic papers in Markdown with Pandoc for multi-format output
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research markdown-academic-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A skill for writing academic papers in plain-text Markdown and converting them to PDF, Word, LaTeX, and HTML using Pandoc. Covers YAML metadata, citation management, cross-references, templates, and workflows for collaborative academic writing.
1. Plain text: Version-controllable with Git (diff-friendly)
2. Portable: Works on any OS, any editor
3. Pandoc: Convert to PDF, DOCX, LaTeX, HTML, EPUB
4. Focus: Content-first writing without formatting distractions
5. Citations: Pandoc-citeproc handles bibliography automatically
6. Collaboration: Easy to review diffs in pull requests
Use Markdown when:
- You need multi-format output (PDF + Word + HTML)
- Collaborators prefer Word but you prefer plain text
- The paper has standard formatting needs
- You want a simpler syntax than LaTeX
Use LaTeX directly when:
- The journal provides a mandatory LaTeX template
- You need advanced typesetting (complex math layouts, custom floats)
- You are writing a thesis with institutional LaTeX requirements
---
title: "Your Paper Title: A Markdown-Based Approach"
author:
- name: Jane Smith
affiliation: Department of Computer Science, University X
email: [email protected]
orcid: 0000-0002-1234-5678
- name: John Doe
affiliation: School of Engineering, University Y
date: 2026-03-09
abstract: |
This paper demonstrates how academic manuscripts can be written
in plain Markdown and converted to publication-quality documents
using Pandoc. We show that this approach reduces formatting overhead
while maintaining full citation and cross-reference capabilities.
keywords: [academic writing, Markdown, Pandoc, reproducible research]
bibliography: references.bib
csl: apa-7th-edition.csl
link-citations: true
numbersections: true
---
# Introduction
Academic writing often involves tedious formatting tasks that
distract from content creation [@smith2024; @jones2023, pp. 45-50].
Recent tools enable plain-text workflows that separate content
from presentation [see @garcia2022, chap. 3].
## Background
As @lee2021 demonstrated, Markdown-based workflows reduce
formatting errors by 40% compared to WYSIWYG editors.
### Subsection Example
Inline math: $E = mc^2$
Display math:
$$
\hat{\beta} = (X^T X)^{-1} X^T y
$$
[@key] -> (Author, 2024)
@key -> Author (2024)
[@key, p. 42] -> (Author, 2024, p. 42)
[@key1; @key2] -> (Author1, 2024; Author2, 2023)
[-@key] -> (2024) -- suppress author name
[see @key] -> (see Author, 2024)
# Markdown to PDF (via LaTeX)
pandoc paper.md -o paper.pdf \
--citeproc \
--number-sections \
--pdf-engine=xelatex
# Markdown to Word (DOCX)
pandoc paper.md -o paper.docx \
--citeproc \
--reference-doc=template.docx
# Markdown to LaTeX
pandoc paper.md -o paper.tex \
--citeproc \
--standalone
# Markdown to HTML
pandoc paper.md -o paper.html \
--citeproc \
--standalone \
--mathjax
# Extract default template for customization
pandoc -D latex > custom-template.tex
# Use custom template
pandoc paper.md -o paper.pdf \
--template=custom-template.tex \
--citeproc \
--pdf-engine=xelatex
See @fig:architecture for the system overview.
{#fig:architecture width=80%}
Results are shown in @tbl:results.
| Method | Accuracy | F1 Score |
|--------|----------|----------|
| Ours | 0.95 | 0.93 |
| Baseline| 0.88 | 0.85 |
: Comparison of methods. {#tbl:results}
As proven in @eq:main, the relationship holds.
$$y = \alpha + \beta x + \epsilon$$ {#eq:main}
# Compile with cross-references
pandoc paper.md -o paper.pdf \
--filter pandoc-crossref \
--citeproc \
--pdf-engine=xelatex
def markdown_collaboration_workflow() -> dict:
"""
Recommended workflow for multi-author Markdown papers.
"""
return {
"setup": [
"Create a Git repository for the paper",
"Add .gitignore for PDF output and LaTeX aux files",
"Store references.bib in the repo",
"Include a Makefile for reproducible builds"
],
"writing": [
"Each author works on a branch",
"Use pull requests for section drafts",
"Review diffs in GitHub/GitLab (plain text diffs are readable)",
"Resolve merge conflicts in plain text (much easier than .docx)"
],
"makefile_example": (
"all: paper.pdf paper.docx\n"
"paper.pdf: paper.md references.bib\n"
"\tpandoc paper.md -o paper.pdf --citeproc --pdf-engine=xelatex\n"
"paper.docx: paper.md references.bib\n"
"\tpandoc paper.md -o paper.docx --citeproc --reference-doc=template.docx\n"
"clean:\n"
"\trm -f paper.pdf paper.docx"
)
}
Pandoc handles most academic writing needs, but has limitations with complex table layouts, advanced figure placement, and journal-specific LaTeX class features. For final submission, you may need to fine-tune the generated LaTeX or DOCX output. Keep your Markdown source as the canonical version and treat generated files as disposable build artifacts.
tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.