# lierdakil/pandoc-crossref

Pandoc filter for cross-references

Repository: https://github.com/lierdakil/pandoc-crossref
Canonical: https://ross.abutalabs.com/products/pandoc-crossref
Homepage: https://lierdakil.github.io/pandoc-crossref/
Language: Haskell
License: GPL-2.0
License Family: copyleft
Topics: haskell, pandoc-crossref, pandoc-filter, pandoc
Last push: 2026-07-28T11:53:31+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 95, longevity 100
- inputs: {"age_days": 4185, "days_push": 36, "days_rel": 36, "gap_med": 25.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1068, forks 80 (observed 2026-08-28T04:03:27.554809+00:00)

## What it is
pandoc-crossref is a Pandoc filter that adds automatic numbering and cross-referencing of figures, tables, equations, sections, and code blocks to Markdown documents. It outputs to HTML, LaTeX/PDF, and other Pandoc-supported formats, using native LaTeX labels and cleveref where possible.

## Use cases
- number figures and tables in markdown documents
- add cross-references to equations in pandoc
- convert markdown to pdf with figure numbering
- generate academic documents with cross-references
- number sections and code blocks in pandoc output
- create list-of-figures and list-of-tables from markdown

## When to choose
- you write documents in Markdown and need numbered figures, tables, and equations
- you convert Markdown to LaTeX/PDF, HTML, or docx with cross-references
- you want LaTeX-native labels and cleveref support in Pandoc output

## When to avoid
- you need to convert LaTeX source to other formats rather than Markdown
- you don't use Pandoc for your document pipeline
- your Pandoc version doesn't match the version the filter was built against

## Facets
- artifact type: cli-tool
- maturity: active
- function: documentation, markdown, pdf, parser, cli
- domain: documentation, developer-tools, pdf
- platform: windows, cli
- tags: pandoc, pandoc-filter, cross-referencing, academic-writing, latex, haskell, linux, macos

## Member repositories
- lierdakil/pandoc-crossref (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.554809+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:54:43.988342+00:00, confidence not recorded.
  - readme: https://github.com/lierdakil/pandoc-crossref (fetched 2026-08-28T04:03:27.554809+00:00, sha d0800ed8aa36)
  - homepage: https://lierdakil.github.io/pandoc-crossref/ (fetched 2026-08-29T12:56:48.635790+00:00, sha 13a6af7ff2ef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
