Format and lint markdown code snippets using your favorite tools. Version 0.12.1, published on npm and as a Rust crate. Offers a CLI that automates running external tools (like prettier, eslint, rustfmt, black, etc.) on code blocks within markdown files. Features caching, configuration via TOML, language aliases, and custom commands. Differentiates from similar tools by supporting both formatting and verification, wide language support, and packaging as both npm and Rust binary.
npm install mdsf-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the mdsf CLI globally via npm and format markdown code snippets in files.
Use `npm install -g mdsf-cli`.
For better performance, install via `cargo install mdsf` or download from GitHub releases.
Ensure required formatters/linters are available in PATH.
Run `npm install -g mdsf-cli`.
Ensure npm global bin directory is in PATH, or use npx: `npx mdsf-cli format .`
Install appropriate tool (e.g., `pip install black`) and ensure it is in PATH.
No dependency data recorded yet.