Markdown Footnotes & Citations to Word: Academic Reference Guide

A comprehensive guide to converting Markdown footnotes, citations, and bibliographies into professionally formatted Word documents. Covers Pandoc citeproc, BibTeX, CSL styles (APA, MLA, Chicago), and integration with reference managers like Zotero and Mendeley.

Updated: March 2026 12 min read Tutorials

Proper citations and footnotes are the backbone of credible academic and professional writing. Whether you are submitting a journal article, drafting a legal brief, or preparing a research thesis, your references must be accurate, consistently formatted, and compliant with the style guide required by your institution or publisher. A misformatted bibliography or a missing footnote can undermine hours of careful research.

Markdown has become the writing format of choice for researchers who value plain-text simplicity and version control. Tools like Pandoc have made it possible to write entire dissertations in Markdown and export them to Word, PDF, or LaTeX. However, the citation workflow—from managing reference databases to rendering formatted bibliographies—remains one of the trickiest aspects of Markdown-to-Word conversion.

This guide covers everything you need to know: from basic Markdown footnote syntax to advanced Pandoc citeproc workflows with BibTeX databases and CSL style files. By the end, you will be able to write your entire document in Markdown and produce a Word file with perfectly formatted footnotes, in-text citations, and a complete bibliography—in APA, MLA, Chicago, or any other style.

Markdown Footnote Syntax

Footnotes in Markdown are not part of the original John Gruber specification, but they have been adopted by most extended Markdown flavors including Pandoc Markdown, PHP Markdown Extra, and MultiMarkdown. The syntax is straightforward and produces clean, readable source files.

Numbered Footnotes

The most common footnote syntax uses a caret and bracket notation. You place the marker in your text where the reference should appear, and then define the footnote content elsewhere in the document (typically at the bottom). The footnote label can be any alphanumeric string—Pandoc will automatically renumber them sequentially in the output.

This claim requires a source.[^1] Another point worth noting.[^2]

[^1]: Smith, J. (2024). *Introduction to Academic Writing*. Oxford University Press, p. 42.
[^2]: Doe, A. & Lee, B. (2023). "Citation practices in the humanities."
    *Journal of Scholarly Communication*, 15(3), 112-128.

When converted to Word, each [^1] marker becomes a superscript number, and the footnote text appears at the bottom of the page. Pandoc handles the numbering automatically, so you can use descriptive labels like [^smith2024] instead of plain numbers to keep your source readable.

Inline Footnotes

Pandoc also supports inline footnotes, where the footnote content is written directly at the point of reference. This is convenient for short notes but can make the source text harder to read for longer annotations.

This is a statement with an inline footnote.^[See Johnson (2025) for a detailed analysis
of this phenomenon, particularly chapters 3 and 7.]

The next paragraph continues normally after the inline note.

Inline footnotes are ideal for brief parenthetical comments or short source attributions. For longer explanatory notes or full bibliographic entries, numbered footnotes keep your Markdown source cleaner and easier to maintain.

Multi-Paragraph Footnotes

Sometimes a footnote needs to span multiple paragraphs—for example, when providing extended commentary or quoting a source at length. Pandoc supports this by indenting subsequent paragraphs within the footnote definition with four spaces.

[^longnote]: This is the first paragraph of a long footnote.

    This is the second paragraph, indented with four spaces.
    It continues the same footnote.

    > You can even include block quotes inside footnotes.

    And a third paragraph to wrap things up. All of this content
    will appear as a single footnote in the Word output.

Multi-paragraph footnotes are rendered correctly in Word, preserving paragraph breaks and any nested formatting such as block quotes, lists, or emphasis. This makes Markdown footnotes surprisingly powerful for academic annotation, where lengthy explanatory notes are common in fields like history, law, and literary studies.

Citation Management with BibTeX

BibTeX is the standard bibliography database format used across academia. A .bib file is a plain-text database where each entry represents a source—a journal article, book, conference paper, or website. When combined with Pandoc's citeproc processor, BibTeX entries become fully formatted citations and bibliographies in your Word output.

Creating a .bib File

Each BibTeX entry starts with an entry type (prefixed with @), followed by a unique citation key in curly braces. The key is what you will use in your Markdown to reference the source. Here is a complete example showing the most common entry types:

@article{smith2024writing,
  author    = {Smith, John and Doe, Jane},
  title     = {Modern Academic Writing Practices in the Digital Age},
  journal   = {Journal of Scholarly Communication},
  year      = {2024},
  volume    = {18},
  number    = {2},
  pages     = {45--67},
  doi       = {10.1234/jsc.2024.0042},
  publisher = {Academic Press}
}

@book{johnson2023research,
  author    = {Johnson, Maria},
  title     = {Research Methods for the Social Sciences},
  edition   = {4th},
  year      = {2023},
  publisher = {Cambridge University Press},
  address   = {Cambridge, UK},
  isbn      = {978-1-108-12345-6}
}

@inproceedings{lee2025machine,
  author    = {Lee, Wei and Chen, Xiao and Park, Soo-Jin},
  title     = {Machine Learning Approaches to Citation Analysis},
  booktitle = {Proceedings of the 12th International Conference on
               Computational Linguistics},
  year      = {2025},
  pages     = {234--241},
  address   = {Tokyo, Japan},
  doi       = {10.5678/iccl.2025.0034}
}

@online{pandoc2026manual,
  author  = {MacFarlane, John},
  title   = {Pandoc User's Guide},
  year    = {2026},
  url     = {https://pandoc.org/MANUAL.html},
  urldate = {2026-03-15}
}

Common Entry Types

BibTeX supports dozens of entry types, but the following cover the vast majority of academic sources:

Entry Type Use For Required Fields
@article Journal articles author, title, journal, year
@book Whole books author/editor, title, publisher, year
@inproceedings Conference papers author, title, booktitle, year
@incollection Book chapters author, title, booktitle, publisher, year
@phdthesis Doctoral dissertations author, title, school, year
@online Web pages and online resources author/title, year, url
@techreport Technical reports and white papers author, title, institution, year

Citing Sources in Markdown

Once your .bib file is ready, you reference entries in your Markdown using the @ symbol followed by the citation key. Pandoc supports several citation formats:

# Citation Syntax Examples

## Parenthetical citation (author and year in parentheses)
Studies have shown significant improvement [@smith2024writing].

## Narrative citation (author in text, year in parentheses)
@johnson2023research argues that mixed methods produce stronger results.

## Multiple sources in one citation
This has been confirmed by several researchers [@smith2024writing;
@lee2025machine; @johnson2023research].

## Citation with page number
The framework was first described in detail [@smith2024writing, pp. 52-58].

## Suppress author name (year only)
Smith [-@smith2024writing] later revised this position.

## Citation with prefix and suffix
[see @johnson2023research, chapter 4, for a thorough discussion]

Each of these citation forms will be rendered differently depending on the CSL style you choose. In APA, a parenthetical citation becomes (Smith & Doe, 2024), while in Chicago author-date it becomes (Smith and Doe 2024). The same Markdown source produces correct output for any style—you just swap the CSL file.

Citation Styles: APA, MLA, Chicago

Citation Style Language (CSL) is an open standard that defines how citations and bibliographies should be formatted. There are over 10,000 CSL styles available, covering virtually every journal and style guide in existence. Pandoc's citeproc processor reads CSL files to determine how your BibTeX entries should appear in the final document.

APA 7th Edition

The standard for psychology, education, and social sciences. Uses author-date in-text citations and a hanging-indent reference list.

In-text:

(Smith & Doe, 2024, p. 52)

Reference list:

Smith, J., & Doe, J. (2024). Modern academic writing practices in the digital age. Journal of Scholarly Communication, 18(2), 45–67.

MLA 9th Edition

Dominant in humanities, literature, and cultural studies. Uses author-page parenthetical citations and a Works Cited page.

In-text:

(Smith and Doe 52)

Works Cited:

Smith, John, and Jane Doe. “Modern Academic Writing Practices in the Digital Age.” Journal of Scholarly Communication, vol. 18, no. 2, 2024, pp. 45–67.

Chicago 17th (Notes)

Standard for history, fine arts, and some social sciences. Uses footnotes or endnotes with a full bibliography.

Footnote:

1. John Smith and Jane Doe, “Modern Academic Writing Practices in the Digital Age,” Journal of Scholarly Communication 18, no. 2 (2024): 52.

Bibliography:

Smith, John, and Jane Doe. “Modern Academic Writing Practices in the Digital Age.” Journal of Scholarly Communication 18, no. 2 (2024): 45–67.

Downloading CSL Files

The official CSL repository at github.com/citation-style-language/styles contains thousands of free style definitions. You can also browse and search at zotero.org/styles. Download the .csl file for your required style and place it in your project directory.

Common CSL files you might need:

  • apa.csl — APA 7th Edition (author-date)
  • modern-language-association.csl — MLA 9th Edition
  • chicago-fullnote-bibliography.csl — Chicago Notes & Bibliography
  • chicago-author-date.csl — Chicago Author-Date
  • ieee.csl — IEEE (numbered citations, common in engineering)
  • vancouver.csl — Vancouver (numbered citations, common in medicine)
  • harvard-cite-them-right.csl — Harvard referencing

Pandoc Citeproc Workflow

Pandoc's built-in citeproc processor is the engine that transforms your citation keys into formatted references. It reads your .bib file, applies the rules from your .csl file, and generates the final citations and bibliography. Here is the complete workflow from Markdown to a Word document with perfect references.

YAML Front Matter Configuration

The cleanest way to configure Pandoc's citation processing is through YAML front matter at the top of your Markdown file. This eliminates the need for long command-line flags and makes your configuration version-controlled alongside your document.

---
title: "The Impact of Digital Tools on Academic Writing"
author: "Jane Doe"
date: "2026-03-19"
bibliography: references.bib
csl: apa.csl
link-citations: true
reference-section-title: "References"
lang: en-US
---

# Introduction

The rise of digital writing tools has transformed academic
publishing [@smith2024writing]. Researchers now have access to
sophisticated reference management systems that integrate
directly with their writing workflow [@johnson2023research,
chapter 2].

# Literature Review

Recent studies in computational linguistics have demonstrated
the potential of machine learning for citation analysis
[@lee2025machine]. As noted by @johnson2023research, mixed
methods approaches yield the most reliable results.

# References

Key YAML fields for citation processing:

  • bibliography — Path to your .bib file (or multiple files as a YAML list)
  • csl — Path to your CSL style file
  • link-citations: true — Makes in-text citations clickable links to the bibliography entry
  • reference-section-title — Heading text for the auto-generated bibliography
  • nocite — Include sources in the bibliography that are not cited in the text (use nocite: '@*' for all entries)
  • suppress-bibliography — Set to true if you want citations but no bibliography (rare)

Complete Command Examples

With the YAML front matter in place, the conversion command is simple. Without YAML, you pass the options as flags.

Basic conversion (YAML configured):

pandoc paper.md --citeproc -o paper.docx

Full command-line flags (no YAML):

pandoc paper.md \
  --citeproc \
  --bibliography=references.bib \
  --csl=apa.csl \
  --metadata link-citations=true \
  --metadata reference-section-title="References" \
  -o paper.docx

With a custom Word template:

pandoc paper.md \
  --citeproc \
  --bibliography=references.bib \
  --csl=chicago-fullnote-bibliography.csl \
  --reference-doc=my-template.docx \
  -o paper.docx

Multiple bibliography files:

pandoc paper.md \
  --citeproc \
  --bibliography=primary-sources.bib \
  --bibliography=secondary-sources.bib \
  --csl=modern-language-association.csl \
  -o paper.docx

Note: The --citeproc flag replaced the older --filter pandoc-citeproc in Pandoc 2.11+. If you are using an older version, use the filter syntax instead. Check your version with pandoc --version.

Zotero and Mendeley Integration

Reference managers like Zotero and Mendeley make it easy to collect, organize, and export your sources. Both tools can generate BibTeX files that work seamlessly with Pandoc's citeproc workflow. This section shows you how to set up the integration.

Zotero

  1. Install Better BibTeX: This Zotero plugin provides automatic BibTeX export and citation key management. Download it from retorque.re/zotero-better-bibtex.
  2. Configure citation keys: In Zotero Preferences > Better BibTeX, set your citation key formula. A common pattern is [auth:lower][year][shorttitle:lower], which produces keys like smith2024modern.
  3. Auto-export: Right-click your library or a collection > Export Collection > Better BibTeX > check "Keep updated." This creates a .bib file that syncs whenever you add or modify references.
  4. Use in Markdown: Reference your auto-exported .bib file in your YAML front matter. Every time you save a new reference in Zotero, it becomes available in your Markdown document.

Mendeley

  1. Enable BibTeX sync: In Mendeley Desktop, go to Tools > Options > BibTeX. Check "Enable BibTeX syncing" and choose a file path for the output .bib file.
  2. Choose sync scope: You can sync your entire library or specific folders. For large libraries, folder-level sync keeps the .bib file manageable and compilation faster.
  3. Verify citation keys: Mendeley generates citation keys automatically based on author names and year. Check that keys are unique and consistent—duplicates will cause Pandoc errors.
  4. Reference in Markdown: Point your YAML bibliography field to the synced .bib file. Mendeley keeps it updated as you organize your library.

Tip: Use Zotero Better BibTeX for the Best Experience

Zotero with Better BibTeX is the gold standard for Pandoc-based academic writing. It gives you fine-grained control over citation keys, handles Unicode correctly, supports automatic file watching, and has an active community maintaining it. Mendeley's BibTeX export works but sometimes produces inconsistent keys or encoding issues with non-Latin characters.

Converting to Word with Perfect References

Now that you understand the pieces—footnotes, BibTeX databases, CSL styles, and Pandoc commands—let us walk through the complete workflow from start to finish.

1

Organize Your Project Directory

Keep your Markdown file, bibliography, CSL file, and any Word template in the same directory. A clean project structure prevents path errors.

my-paper/
  paper.md              # Your Markdown document
  references.bib        # BibTeX bibliography
  apa.csl               # Citation style file
  my-template.docx      # Custom Word template (optional)
  figures/              # Images and charts
    fig1.png
    fig2.png
2

Write Your Document with Citations

Use the YAML front matter to declare your bibliography and CSL style. Write your content using [@key] for parenthetical citations and @key for narrative citations. Add footnotes with [^label] syntax for explanatory notes that are separate from your formal citations.

3

Run Pandoc with Citeproc

Execute the conversion command from your project directory:

cd my-paper
pandoc paper.md --citeproc --reference-doc=my-template.docx -o paper.docx
4

Review the Word Output

Open paper.docx in Microsoft Word. Check that: (a) in-text citations match the expected format for your style, (b) footnotes appear at the bottom of the correct page, (c) the bibliography is present at the end with proper formatting, and (d) citation links work if you enabled link-citations.

Quick Alternative: Use Our Online Converter

If you do not need BibTeX-based citation processing and simply have Markdown with footnotes, our Markdown to Word online converter handles footnote syntax out of the box. Paste your Markdown, preview the footnotes in real time, and download a Word document with properly formatted footnote markers and content. This is ideal for quick conversions where you have already written your footnotes inline.

Try the Online Converter

Troubleshooting Citation Issues

Even with a well-configured workflow, citation processing can produce unexpected results. Here are the most common problems and their solutions.

Citations Appear as Raw Keys (e.g., @smith2024writing)

Cause: The --citeproc flag is missing from the Pandoc command, or citeproc is not installed.

Fix: Ensure you include --citeproc in your command. Verify with pandoc --list-filters that citeproc is available. If using Pandoc < 2.11, use --filter pandoc-citeproc and ensure the external filter is on your PATH.

Bibliography Is Missing or Empty

Cause: The bibliography path in YAML or the --bibliography flag points to a file that does not exist or is in a different directory.

Fix: Use relative paths from the Markdown file's location. Double-check the filename spelling, including case sensitivity on Linux and macOS. Run Pandoc from the directory containing your files.

Wrong Citation Format (APA Instead of Chicago)

Cause: The CSL file is either missing, the path is incorrect, or you have the wrong file. Pandoc defaults to Chicago author-date when no CSL is specified.

Fix: Verify your csl field points to the correct file. Download the exact style you need from zotero.org/styles. Note that Chicago has two variants: notes-bibliography and author-date—make sure you have the right one.

Duplicate or Missing Citation Keys

Cause: Two entries in your .bib file share the same citation key, or you referenced a key that does not exist in the bibliography.

Fix: Search your .bib file for duplicate keys. Enable Pandoc warnings with --verbose to see which keys are unresolved. If using Zotero Better BibTeX, enable the "Warn on duplicate keys" option.

Footnotes Render as Endnotes in Word

Cause: Word's settings or the reference template may be configured to display footnotes as endnotes.

Fix: In Word, go to References > Footnotes dialog > change "Endnotes" to "Footnotes" and click "Convert." If using a --reference-doc template, ensure the template's footnote settings are correct before running Pandoc.

Special Characters Break the .bib File

Cause: BibTeX entries contain unescaped special characters like &, %, #, or accented characters without proper encoding.

Fix: Save your .bib file as UTF-8. Use LaTeX escapes for special characters in traditional BibTeX (\& for ampersand), or switch to BibLaTeX which handles Unicode natively. Zotero Better BibTeX exports UTF-8 by default.

Frequently Asked Questions

Can I use Markdown footnotes without Pandoc?

Yes. Our online Markdown to Word converter supports basic footnote syntax ([^1]) and converts them directly to Word footnotes in the browser. This works for simple footnotes without BibTeX. For full citation processing with bibliographies and CSL styles, you will need Pandoc.

How do I switch between APA and MLA without rewriting my citations?

Simply change the csl field in your YAML front matter or swap the --csl flag on the command line. Your Markdown source stays identical—Pandoc reformats every citation and the bibliography automatically based on the CSL file. This is one of the biggest advantages of the Pandoc workflow over manually formatting references.

Does Pandoc support both footnote and in-text citation styles?

Yes. When you use a footnote-based CSL style like Chicago Notes & Bibliography, Pandoc converts your [@key] citations into Word footnotes automatically. With an author-date style like APA, the same citations become parenthetical in-text references. You do not need to change your Markdown—the CSL style controls the output format entirely.

Can I have both footnotes and citations in the same document?

Absolutely. Use [^label] for explanatory footnotes and [@key] for citations. Pandoc treats them independently. Footnotes will always render as Word footnotes, while citations follow whatever format your CSL style dictates (parenthetical, numerical, or footnote-based). If your CSL style is footnote-based, Pandoc intelligently merges citation notes with regular footnotes.

What if my institution requires a citation style not available as a CSL file?

With over 10,000 styles in the CSL repository, your style is almost certainly available. Search at zotero.org/styles by journal name or style guide name. If you truly need a custom style, you can create or modify a CSL file using the CSL Visual Editor. Start with a similar existing style and adjust the rules to match your requirements.

Ready to Convert Your Footnotes & Citations?

Our free online converter handles Markdown footnotes instantly. For full citation processing with BibTeX and CSL styles, follow the Pandoc workflow above—or start with a quick conversion using our tool.

Try the Converter Now

Free, no account needed. Supports footnotes, tables, code blocks, and more.

Related Articles