Skip to content
PluginStats

prettier-plugin-pandoc weekly downloads statistics

By anschmieg · npm · Prettier plugins

A Prettier plugin for Pandoc Markdown and Quarto documents

View on npm Stale · Oct 18, 2026

prettier-plugin-pandoc has 5 recorded weekly downloads on npm, a decrease of 16.7% over the past 30 days, ranking #2212 of 2,391 tracked listings.

Weekly downloads
5
Official API · Oct 18, 2026
7-day growth
+25.0%
+1 weekly downloads
30-day growth
-16.7%
-1 weekly downloads
90-day growth
+400%
+4 weekly downloads
Rank
#2212
Among tracked npm listings

About prettier-plugin-pandoc

prettier-plugin-pandoc

A Prettier plugin for formatting Pandoc Markdown (.md) and Quarto documents (.qmd).

CI npm

[!WARNING] This plugin is currently in early development. It has been verified against a comprehensive suite of syntax test cases, but has not yet been battle-tested on a large number of real-world projects. Please use with caution and backup your data (e.g. via git) before formatting.

Features

Dual Parser Support

This plugin includes two parsers to handle the subtle differences between standard Pandoc Markdown and Quarto's extended syntax:

  • pandoc parser - Standard Pandoc for .md files

    • ✅ Citations: [@smith2020]
    • ✅ Definition lists
    • ✅ Divs/Callouts: ::: {.note}
    • ✅ GFM (tables, task lists, etc.)
    • ✅ Math blocks (standard)
  • quarto parser - Extended support for .qmd files

    • ✅ Everything in Pandoc parser
    • ✅ Math blocks with labels: $$ E=mc^2 $$ {#eq-einstein}
    • ✅ Shortcodes: {{< meta title >}}
Safety Features
  • Code block protection - Content inside fenced code blocks is never modified
  • Lossless round-trips - Formatting preserves all attributes and metadata
  • Tested - Comprehensive automated test suite ensuring semantic equivalence

Installation

npm install --save-dev prettier prettier-plugin-pandoc

Usage

Automatic Configuration

Prettier automatically uses the quarto parser for .qmd files.

For .md files, Prettier defaults to its built-in Markdown parser. You must explicitly configure it to use the pandoc parser if you want to support Pandoc features like citation syntax or definition lists.

.prettierrc

{
  "plugins": ["prettier-plugin-pandoc"],
  "overrides": [
    {
      "files": "*.md",
      "options": {
        "parser": "pandoc"
      }
    }
  ]
}
Running Prettier

Format all documents:

npx prettier --write "**/*.{md,qmd}"

Examples

Pandoc Markdown (.md)

Input:

# Citations

See @smith2020 for details.

Term
:   Definition

Output: (formatted, standard Pandoc syntax preserved)

Quarto Document (.qmd)

Input:

---
title: My Analysis
---

# Introduction

Black-Scholes (@eq-bs) is elegant:

$$
\frac{\partial C}{\partial t} + \frac{1}{2}\sigma^2 S^2 \frac{\partial^2 C}{\partial S^2} = rC
$$ {#eq-bs}

{{< meta title >}} uses R.

Output: (formatted, preserves all Quarto specific syntax)

Compatibility

  • Prettier: ^3.0.0
  • Node.js: >=18.0.0 (ES modules)
  • Browser: Bundled version available (55KB gzipped)
  • Pandoc: Tested with Pandoc 3.1+
  • Quarto: Tested with Quarto 1.4+

Browser Usage

A pre-bundled version is available for browser applications:

import * as prettier from 'prettier/standalone'
import pandocPlugin from 'prettier-plugin-pandoc/browser'

const formatted = await prettier.format(markdown, {
  parser: 'pandoc',
  plugins: [pandocPlugin],
})

Development

# Install dependencies
npm install

# Build
npm run build

# Test
npm test

Contributing

Contributions welcome! Please:

  1. Open an issue first to discuss changes
  2. Follow existing code style
  3. Add tests for new features
  4. Update README for user-facing changes

License

MIT

Credits

Built with:

Description from the npm listing.

  • pandoc
  • quarto
  • prettier
  • prettier-plugin
  • plugin
  • formatter
  • markdown

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-pandoc weekly downloads on npm, last 90 days: 5 weekly downloads as of Oct 18, 2026, +400% over 90 days.prettier-plugin-pandocWeekly downloads on npm · Last 90 days5downloads / week+400% over 90 days0246810Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
prettier-plugin-pandoc weekly downloads on npm, last 90 days: 5 weekly downloads as of Oct 18, 2026, +400% over 90 days.

7/30/90-day growth

prettier-plugin-pandoc weekly downloads growth on npm: +25.0% over 7 days, -16.7% over 30 days, +400% over 90 days.prettier-plugin-pandocWeekly downloads growth on npm5downloads / week now7-day growth+1 weekly downloads+25.0%30-day growth-1 weekly downloads-16.7%90-day growth+4 weekly downloads+400%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
prettier-plugin-pandoc weekly downloads growth on npm: +25.0% over 7 days, -16.7% over 30 days, +400% over 90 days.

Ranking history

prettier-plugin-pandoc npm ranking history: currently #2212 (by weekly downloads).prettier-plugin-pandocnpm ranking · by weekly downloads · Last 90 days#2212current rank#2000#2050#2100#2150#2200#2250Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 18, 2026 – Oct 21, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
prettier-plugin-pandoc npm ranking history: currently #2212 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,196 shown · page 113, #8 (overall #2,248)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 9, #6 (overall #166)
Prettier plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for prettier-plugin-pandoc
Date (UTC)Weekly downloadsChange vs. previous
50
50
50
50
5-2
70
7+3
40
40
4+1
30
3+2
1-1
2—

Similar npm Prettier plugins plugins

All 20 prettier-plugin-pandoc alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-plugin-pandoc. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.