panache-format(1)
๐ panache-format(1) โ General Commands Manual ๐
๐ธ NAME ๐ธ
panache-format โ Format a Quarto or other Markdown document. Bestie, this is the page for the panache format command, and it is giving very โmake your Markdown cute and consistentโ energy ๐
โจ SYNOPSIS โจ
panache format [--check] [--range] [--force-exclude] [-o|--option] [-h|--help] [-V|--version] [FILES]
๐ฆ DESCRIPTION ๐ฆ
Okay so panache-format formats a Quarto or other Markdown document according to Panache's formatting rules. By default, it formats files in place. Use --check to verify formatting without making any changes. Stdin input always outputs to stdout โ no cap.
๐ OPTIONS ๐
--checkโ Checks if the file is already formatted according to Panache's rules without making any changes. If the file is not formatted, it displays a diff and exits with code1. If it is formatted, it exits with code0. Useful for CI/CD pipelines. Very โis this already slaying?โ energy ๐ฅ--range <START:END>โ Formats only the specified line range. Lines are1-indexed and inclusive. The range will be expanded to complete block boundaries to ensure well-formed output. For example, if you select part of a list, the entire list will be formatted. Format:--range START:END(e.g.,--range 5:10formats lines 5 through 10).
Note: This feature is experimental. Range filtering may not work correctly in all cases. ๐ซถ
--force-excludeโ Applies exclude patterns from your configuration even to files passed explicitly on the command line.
By default, explicitly-named files bypass exclude patterns: the assumption is that if you asked for a specific file, you want it processed. With --force-exclude, those patterns are honored regardless.
This is primarily intended for pre-commit hooks (and similar tooling), which pass changed files explicitly but should still respect the project's exclude configuration. ๐
-o,--option <KEY=VALUE>โ Overrides an individual config option for this invocation, using the kebab-case key names frompanache.toml. May be repeated. Takes precedence over bothpanache.tomland the built-in defaults.
Supported keys: line-width (positive integer, measured in Unicode display columns, where East Asian wide characters count as 2: xๅฎฎ is 3 columns, not 2 characters or 4 UTF-8 bytes); wrap (one of: reflow, sentence, semantic, preserve); and extensions.<name>=<bool> to toggle any extension (booleans accept true/false/1/0/yes/no/on/off).
Example: --option line-width=100 -o wrap=sentence -o extensions.east-asian-line-breaks=true.
Note: this is an escape hatch for ad-hoc invocations. Prefer panache.toml so that everyone formatting the repository gets the same result. ๐ง
-h,--helpโ Print help (see a summary with-h). Literally what it says, bestie ๐-V,--versionโ Print version. โจ[FILES]โ Path(s) to the input file(s) or directories to format. If not provided, or if the single argument-is given, reads from stdin (with no arguments at an interactive terminal this is a usage error instead, since there is nothing to read). Supports.qmd,.md,.Rmd/.Rmarkdown, and other Markdown-based formats. When file paths are provided, the files are formatted in place by default. Stdin input always outputs to stdout. Supports glob patterns (e.g.,*.md) and directories (e.g.,.ordocs/). Directories are traversed recursively, respecting.gitignorefiles.-cannot be combined with other paths.
๐ VERSION ๐
v3.16.0
๐ SEE ALSO ๐
Okay bestie, that's the whole manual page ๐
โจ This one is from the General Commands Manual: panache-format(1), version v3.16.0, footer source/version format 3.16.0 โ and there's no date in the footer, so I'm not inventing one. Bye bestie, go format something iconic ๐ซถ๐
๐ฆ where this page comes from
- nixpkgs unstable: panache 3.16.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms