Panache
Panache is a language server, formatter, and linter for Pandoc, Quarto, and R Markdown. It is built for fast, reliable formatting and robust parsing across syntax that many generic Markdown tools struggle with, including fenced divs, grid tables, definition lists, citations, and inline footnotes.
Panache is designed to be used in your editor, on the command line, and in CI, with consistent behavior across all environments.
Why Panache
- Pandoc, R Markdown and Quarto aware: understands syntax extensions directly instead of flattening them into plain Markdown.
- Formatter + linter + LSP in one tool: consistent behavior in your CLI, editor, and CI.
- Configurable defaults: tune wrapping, flavor, extensions, and linting to match your project.
- External tool support: plug in external formatters and linters for code blocks to enable language-aware formatting and linting of embedded code.
Quick Start
Install with Cargo:
cargo install panacheFormat your first document:
panache format document.qmdLint a document:
panache lint document.qmdTo get the most out of Panache, you will want to set up the language server in your editor. See Getting Started for instructions on how to do that.
Where to Go Next
- Getting Started: A slightly more detailed guide on how to get up and running with Panache, including setting up the language server in your editor.
- User Guide: detailed docs for formatting, linting, CLI, and editor integration.
- Configuration: tune behavior with
panache.toml. - Playground: try formatting directly in the browser.