THE GITHTML FIELD GUIDE

Check Pandoc citations before publishing an HTML bibliography

Use Pandoc's citation processing with a maintained bibliography, then verify both citation resolution and the underlying sources. A formatted reference is not proof that the cited work exists or supports the sentence. Test missing keys, author details, and destination links with a small fixture before converting a long technical document.

Separate reference formatting from source verification

Bibliography software can turn structured metadata into a polished reference list, but it cannot establish that your interpretation is accurate. Start by checking the source itself and recording the claim it supports. Verify title, authorship, publication details, and a stable destination where available. Avoid importing metadata blindly from an untrusted draft or generated answer. A plausible citation key is only an identifier within your bibliography. It should connect to a real record, and that record should connect to the work you actually consulted. Keep your own analysis distinct from the cited material and do not imply a source endorses conclusions it does not address.

Build a small citation-processing fixture

Create a short source document with one valid citation, a repeated citation, and an intentionally missing key in a disposable test copy. Run the local conversion with the bibliography and citation-processing option shown below. Inspect warnings and the resulting bibliography. Remove the deliberately invalid case before publication. If a citation style file is used, record which file and version belong to the project; appearance can change when styles change. Keep the bibliography beside the source or reference it through a stable documented path. Do not rely on a maintainer's unrelated local bibliography file that another author cannot access or reproduce.

sh
pandoc review.md --standalone --citeproc \
  --bibliography=references.bib \
  --metadata title="Sample literature review" \
  --output=review.html

Review the reading relationship, not just the list

Follow each citation from the sentence to its reference and then to the source destination when available. Confirm that the reference belongs to the same version or edition discussed in the prose. Check for unused records that should not appear in the selected output and unresolved markers that survived conversion. For a reading copy, preserve enough identifying information that a reader can recognize the work even when the link is unavailable. Review the final HTML after any template change because bibliography placement and navigation may differ. A correctly formatted bibliography is one part of publication quality, not a substitute for evidence checking.

  1. Verify the source and the claim before adding its bibliography record.
  2. Test one valid, repeated, and missing citation key in a disposable fixture.
  3. Record the bibliography and optional style files with the local conversion instructions.
  4. Follow rendered citations and check unresolved warnings before publishing the final artifact.

Sources and further reading

AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.

All documentation builds and formats guides →

Read as MarkdownAll guides

Check Pandoc citations before publishing an HTML bibliography · gitHtml