prettier-plugin-pandoc weekly downloads statistics
By anschmieg · npm · Prettier plugins
A Prettier plugin for Pandoc Markdown and Quarto documents
prettier-plugin-pandoc has 5 recorded weekly downloads on npm, a decrease of 28.6% over the past 30 days, ranking #2030 of 2,256 tracked listings.
About prettier-plugin-pandoc
prettier-plugin-pandoc
A Prettier plugin for formatting Pandoc Markdown (.md) and Quarto documents (.qmd).
[!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: {{}}
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
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
Running Prettier
Format all documents:
Examples
Pandoc Markdown (.md)
Input:
Output: (formatted, standard Pandoc syntax preserved)
Quarto Document (.qmd)
Input:
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:
Development
Contributing
Contributions welcome! Please:
- 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: • Prettier • micromark • mdast-util-from-markdown • @benrbray/micromark-extension-cite
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (121)Similar npm Prettier plugins plugins
All 20 prettier-plugin-pandoc alternativesData 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 19, 2026. See the methodology.