Hongdown is a Markdown formatter written in Rust that enforces a specific style convention. It supports multiple installation methods (npm, Cargo, mise, pre-built binaries) and offers CLI commands for formatting files in-place, checking formatting, showing diffs, and reading from stdin. The tool includes disable directives via HTML comments, configuration via .hongdown.toml files, and enforces conventions like Setext-style headings for levels 1-2, specific list formatting with 4-space indentation, fenced code blocks with tildes, 80-column line wrapping with East Asian character support, and reference-style links. It can also be used as a Rust library.

6m read timeFrom github.com
Post cover image
Table of contents
InstallationUsageStyle rulesLibrary usageDevelopmentEtymologyLicense

Sort: