Skip to main content

mdlint

CI

Crates.io NPM PyPi

An opinionated Markdown formatter and linter, written in Rust.

What ruff did for Python and gofmt did for Go, mdlint aims to do for Markdown: enforce a single, consistent canonical style so that style debates disappear and diffs stay meaningful. As AI coding agents increasingly read and write Markdown, well-structured files matter more than ever. Run mdlint format and stop thinking about it.

Project Status: Active development, but no one's top priority.

Features

  • Formatter first: mdlint format rewrites files to a canonical style — no configuration required
  • Reflows prose (opt-in): with --reflow or reflow = true, paragraphs are unwrapped and refilled to the configured line length, so where you happened to press Enter stops showing up in diffs
  • Aligns tables (opt-in): with --align-tables or align_tables = true, table cells are padded so the pipes line up in an editor
  • Linter second: mdlint check reports violations; fixable rules are auto-corrected by mdlint format or mdlint check --fix
  • Fast: written in Rust for performance
  • Portable: single, small, 0-dependency binary (Linux x86_64/ARM64, macOS Intel/Apple Silicon, Windows)
  • Git-aware: respects .gitignore files by default

Quickstart

No install needed — run directly with uvx:

uvx markdownlint-rs check   # lint all Markdown files in the current directory
uvx markdownlint-rs format  # format all Markdown files in the current directory

Installation

mdlint comes packaged in many forms: static binaries, from a Python wrapper, from an NPM wrapper, and in a Docker container! More ways of installing are in the works, but here's the current list:

⚠️ Be aware: mdlint is the executable name, but most package names are still markdownlint-rs!

# cargo
cargo install markdownlint-rs

# uv
uv tool install markdownlint-rs

# or as a project dependency
uv add --dev markdownlint-rs

# pip
pip install markdownlint-rs

# npm project dependency
npm install --save-dev markdownlint-rs

# Homebrew (macOS and Linux)
brew install swanysimon/tap/mdlint

# Docker (linux/amd64 and linux/arm64) - hosted on both DockerHub and GitHub Container Registry
docker run --rm -v "$PWD:/workspace" ghcr.io/swanysimon/mdlint:latest check
docker run --rm -v "$PWD:/workspace" simonswanson/mdlint:latest       format

Pre-built binaries for Linux (x86_64/ARM64, glibc and musl), macOS (Intel/Apple Silicon), and Windows are available on the releases page.

pre-commit framework

Add to .pre-commit-config.yaml:

repos:
  - repo: https://github.com/swanysimon/mdlint
    # use the latest release tag
    rev: v0.4.2
    hooks:
      - id: mdlint-format
      - id: mdlint-check

Or use additional arguments, e.g. to disable auto-fix:

    hooks:
      - id: mdlint-format
        args: [--check]
      - id: mdlint-check
        args: [--no-fix]

Usage

mdlint check

Lint Markdown files and report issues.

Usage: mdlint check [OPTIONS] [FILES]...

Arguments:
  [FILES]...  Files or directories to check (defaults to current directory)

Options:
      --fix                     Apply auto-fixes where possible
      --output-format <FORMAT>  Output format [default: default] [possible values: default, json, gitlab]
      --color <COLOR>           Control colors in output [possible values: auto, always, never]
  -h, --help                    Print help

File selection:
      --exclude <EXCLUDE>  Files and directories to exclude from analysis
      --respect-ignore     Respect `.gitignore` and similar exclusion files. Use `--no-respect-ignore` to disable

Experimental:
      --parallel  Lint files in parallel (experimental)

Rule selection:
      --select <RULE_CODE>  Comma-separated list of rules to enable (or `ALL`)
      --ignore <RULE_CODE>  Comma-separated list of rules to disable

Configuration:
      --config <CONFIG>  Path to a configuration file (mdlint.toml, pyproject.toml or package.json)
      --no-config        Ignore all configuration files

Log levels:
  -v, --verbose  Enable verbose logging
  -q, --quiet    Print diagnostics, nothing else
  -s, --silent   Disable all logging (exit code still reflects result)

mdlint format

Format Markdown files with opinionated style.

Paragraph reflow is opt-in: pass --reflow, or set reflow = true in mdlint.toml (--no-reflow overrides the config for one run). Existing line breaks inside a paragraph are then discarded and the text is refilled up to rules.MD013.line_length (default 120). Headings, tables, code blocks, and HTML are left alone. Note that turning it on rewrites every file with hard-wrapped prose the next time you run mdlint format.

Tables are the one place where "left alone" needed a matching change to the linter: a table row is always a single line, so nothing in the tool can narrow one, and MD013 therefore does not check table widths unless you ask it to with tables = true.

Table alignment is opt-in too: pass --align-tables, or set align_tables = true in mdlint.toml (--no-align-tables overrides the config for one run). Every cell is padded with spaces to the widest cell in its column, so the pipes line up when you read the file in an editor; by default tables stay compact (| a | b |). Padding follows the column's alignment marker: a right-aligned column pads on the left, a centred one on both sides. Widths are display widths, so CJK text lines up too. Unlike reflow, aligning does not depend on MD013.

Usage: mdlint format [OPTIONS] [FILES]...

Arguments:
  [FILES]...  Files or directories to format (defaults to current directory)

Options:
      --check          Check formatting without modifying files (exits with 1 if any file would change)
      --reflow         Reflow paragraphs to MD013's line_length. Use `--no-reflow` to disable
      --align-tables   Pad table cells so the pipes line up. Use `--no-align-tables` to disable
      --color <COLOR>  Control colors in output [possible values: auto, always, never]
  -h, --help           Print help

File selection:
      --exclude <EXCLUDE>  Files and directories to exclude from formatting
      --respect-ignore     Respect `.gitignore` and similar exclusion files. Use `--no-respect-ignore` to disable

Configuration:
      --config <CONFIG>  Path to a configuration file (mdlint.toml, pyproject.toml or package.json)
      --no-config        Ignore all configuration files

Log levels:
  -v, --verbose  Enable verbose logging
  -q, --quiet    Print diagnostics, nothing else
  -s, --silent   Disable all logging (exit code still reflects result)

mdlint migrate

Migrate a configuration from another Markdown tool to mdlint.toml. Currently supported sources (--from): markdownlint-cli2 (default).

Usage: mdlint migrate [OPTIONS] [INPUT]

Arguments:
  [INPUT]  Path to the configuration to migrate (auto-detected if omitted)

Options:
      --from <SOURCE>  Tool to migrate the configuration from [default: markdownlint-cli2] [possible values:
                       markdownlint-cli2]
      --output <PATH>  Output path for the generated config [default: mdlint.toml]
      --force          Overwrite the output file if it already exists
      --dry-run        Print the generated config without writing it
      --color <COLOR>  Control colors in output [possible values: auto, always, never]
  -h, --help           Print help

Configuration:
      --config <CONFIG>  Path to a configuration file (mdlint.toml, pyproject.toml or package.json)
      --no-config        Ignore all configuration files

Log levels:
  -v, --verbose  Enable verbose logging
  -q, --quiet    Print diagnostics, nothing else
  -s, --silent   Disable all logging (exit code still reflects result)

markdownlint-cli2

Supports .markdownlint-cli2.{json,jsonc,yaml,yml} and standalone .markdownlint.{json,jsonc,yaml,yml} rule configs, and falls back to the "markdownlint-cli2" field in package.json if no dedicated config file is found. Rule names and their common aliases (e.g. line-length for MD013) are both recognized. The gitignore, noInlineConfig, and frontMatterPattern cli2 options map onto mdlint's equivalent gitignore, no_inline_config, and front_matter settings. .cjs/.mjs configs are evaluated with a Node.js runtime when one is found on PATH (the same thing markdownlint-cli2 itself would do when loading them), correctly resolving require(), spread syntax, and computed values. If Node isn't available, mdlint falls back to a best-effort text scrape and warns that dynamic values may not have been resolved; if a config can't be parsed either way, migration fails with a message asking you to export it with console.log(JSON.stringify(config)) and migrate the resulting JSON file instead. Rules with no mdlint implementation, and cli2-specific fields with no mdlint equivalent (globs, customRules, outputFormatters), are skipped with a warning rather than failing the migration.

Examples

# check all Markdown files and apply auto-fixes
mdlint check --fix

# check specific files
mdlint check README.md docs/

# check with JSON output (for CI integrations)
mdlint check --output-format json

# enable only specific rules
mdlint check --select MD001,MD022

# disable specific rules for this run
mdlint check --ignore MD013,MD033

# format all files
mdlint format

# verify formatting without modifying files (for CI)
mdlint format --check

# format specific files
mdlint format README.md docs/

# use a custom config file
mdlint check --config path/to/mdlint.toml

# ignore all config files
mdlint check --no-config

# migrate a markdownlint-cli2 config to mdlint.toml (auto-detected)
mdlint migrate

# migrate a specific config file to a custom output path
mdlint migrate --from markdownlint-cli2 .markdownlint-cli2.jsonc --output mdlint.toml

Configuration

mdlint is configured in TOML, discovered by searching upward from the current directory. Settings can live in a dedicated file or inside a manifest your project already has. Within a directory, the first of these that holds mdlint settings wins:

  1. mdlint.toml
  2. .mdlint.toml
  3. pyproject.toml — under a [tool.mdlint] table
  4. package.json — under a top-level "mdlint" key

A pyproject.toml or package.json without mdlint settings is not a config: the search walks past it to the parent directory, so an unrelated manifest never shadows a config higher up. Pointing --config at a manifest that has no mdlint section is an error rather than a silent fall back to defaults.

pyproject.toml

Options go under [tool.mdlint], rules under [tool.mdlint.rules.MDxxx] — the same layout as mdlint.toml, nested one level deeper:

[tool.mdlint]
gitignore = true
exclude = ["docs/generated"]

[tool.mdlint.rules.MD013]
line_length = 100

[tool.mdlint.rules.MD033]
enabled = false

package.json

Options go under a top-level "mdlint" key. The keys are identical to the TOML ones:

{
  "name": "my-project",
  "mdlint": {
    "gitignore": true,
    "exclude": ["docs/generated"],
    "rules": {
      "MD013": { "line_length": 100 },
      "MD033": { "enabled": false }
    }
  }
}

Configuration hierarchy

Discovery walks up from the working directory to the filesystem root, taking at most one config per directory — the first of the four file names above that actually holds mdlint settings. Every config found along the way is merged, with the one nearest the working directory winning.

Priority, highest to lowest:

  1. CLI flags — --select, --ignore, --fix / --no-fix, --reflow / --no-reflow, --align-tables / --no-align-tables, --exclude, --no-respect-ignore
  2. --config <path>, which replaces discovery entirely: no other config file is read, not even one in the working directory
  3. The config in the working directory
  4. Configs in parent directories, nearest first, up to the filesystem root
  5. Built-in defaults

--no-config skips 2 through 4 and runs on built-in defaults alone.

How values from different configs combine:

  • Scalars — default_enabled, fix, reflow, align_tables, gitignore, no_inline_config, front_matter: the nearest config that sets the option wins. A config that omits an option leaves whatever an outer config set it to, rather than resetting it to the built-in default.
  • Arrays — exclude, custom_rules: accumulate, so every config in the chain contributes its entries. There is no way to remove an entry an outer config added.
  • [rules.MDxxx]: merged per rule code. The nearest config that configures a rule replaces that rule's whole section — parameters are not merged one at a time, so a closer line_length = 90 drops any other MD013 parameters an outer config had set.

CLI flags then apply on top of the merged result:

  • --fix / --no-fix overrides fix.
  • --reflow / --no-reflow overrides reflow.
  • --align-tables / --no-align-tables overrides align_tables.
  • --exclude is added to exclude rather than replacing it.
  • --no-respect-ignore forces .gitignore off, and so does gitignore = false in any config; .gitignore is respected only when neither turns it off.
  • --select turns default_enabled off and enables just the listed rules, keeping any parameters those rules were given in a config.
  • --ignore disables the listed rules, overriding both the config files and --select.

Global options

Option Default Description
default_enabled true Enable all rules unless explicitly disabled; false to enable only configured rules.
gitignore true Respect .gitignore files when discovering Markdown files.
no_inline_config false Ignore all <!-- mdlint-disable --> comments.
fix true mdlint check automatically applies all fixable violations; equivalent to passing --fix on the CLI.
reflow false mdlint format refills paragraphs to MD013's line_length; equivalent to passing --reflow on the CLI.
align_tables false mdlint format pads table cells so the pipes line up; equivalent to passing --align-tables on the CLI.
front_matter auto Front matter delimiter. Auto-detects --- (YAML) and +++ (TOML). Set to "---" to accept YAML only.
exclude [] Paths/glob patterns excluded from discovery; merged with any --exclude CLI flags.
custom_rules [] Paths to external rule modules (future feature).

Rule configuration

Each rule is configured in its own [rules.MDxxx] section. Providing any parameter enables the rule. Use enabled = false to explicitly disable a rule when default_enabled = true.

# disable a rule
[rules.MD013]
enabled = false

# configure parameters (also enables the rule)
[rules.MD013]
line_length = 100
code_blocks = false

# combine enabled flag with parameters
[rules.MD044]
enabled = true
names = ["JavaScript", "TypeScript", "GitHub"]

See mdlint.default.toml for every option with its default value.

Front matter and comments

YAML/TOML front matter is excluded from every rule and is not parsed as Markdown. A front matter title field is treated as the document's primary top-level heading, so MD025 (multiple top-level headings) and MD041 (first line should be a top-level heading) are satisfied by it instead of requiring a # heading in the body. As in markdownlint, the field is found by each rule's front_matter_title pattern, a case-insensitive regular expression matched against every front matter line (default ^\s*"?title"?\s*[:=]); set it to "" to turn this off. An invalid pattern is a configuration error.

HTML comments (<!-- ... -->, including multi-line comments) are excluded from every rule except MD013 (line length), since line length is a property of the raw line rather than of Markdown semantics. A <!-- inside a code span or code block is literal text, not a comment.

Inline configuration

Rules can be suppressed for specific lines using HTML comments. Both mdlint- and markdownlint- prefixes are accepted as equivalent aliases, so existing markdownlint/markdownlint-cli2 comments keep working, except for the disable-file, enable-file, and configure-file forms, which mdlint does not support:

<!-- mdlint-disable-next-line MD013 -->
This line may be longer than the configured limit.

<!-- mdlint-disable MD033 -->
<div>Raw HTML block that needs to stay as-is</div>
<!-- mdlint-enable MD033 -->
Comment Effect
<!-- mdlint-disable MD001 --> Disable rule from this line onward
<!-- mdlint-enable MD001 --> Re-enable rule from this line onward
<!-- mdlint-disable-line MD001 --> Disable rule for the current line only
<!-- mdlint-disable-next-line MD001 --> Disable rule for the next line only
<!-- mdlint-disable --> Disable all rules from this line onward
<!-- mdlint-enable --> Re-enable all rules
<!-- mdlint-capture --> Save the current enable/disable state
<!-- mdlint-restore --> Restore the most recently captured state

Multiple rules: <!-- mdlint-disable MD001 MD013 --> — space-separate rule names. As in markdownlint, a name may be a rule code, a markdownlint alias (line-length), or a tag (headings, covering every rule with it), in any case. Names mdlint does not know are ignored. disable/enable with no rule names applies to every rule; a rule-specific enable after a bare disable re-enables just that rule (e.g. disable then enable MD013 means "all rules except MD013"). capture/restore nest like a stack, so a block of directives can be undone as a unit regardless of what state it started from. Directives shown inside a code span or code block are examples and have no effect. Set no_inline_config = true in mdlint.toml to ignore all inline comments project-wide.

With reflow enabled, disabling MD013 also stops mdlint format reflowing: paragraphs covered by the directive keep the line breaks you gave them. Setting enabled = false under [rules.MD013] does the same thing for the whole project — the comment and the config key are one switch, spelled two ways. This is the way to protect deliberately hand-wrapped prose — one sentence per line, an aligned list, ASCII art in a paragraph — from being refilled. Reflow rewrites a whole paragraph or none of it, so a directive covering any part of a paragraph protects all of it.

Use the block form (disable … enable) to protect prose, not disable-line or disable-next-line. Those two forms suppress the lint on one line, while the formatter protects the whole paragraph that line belongs to: on a paragraph spanning several lines, format stops reflowing it and mdlint check goes on reporting every line of it except the one named — a violation neither command will ever fix. The block form suppresses the rule and the reflow over the same range.

<!-- mdlint-disable MD013 -->

These line breaks are deliberate
and the formatter will leave them
exactly where they are.

<!-- mdlint-enable MD013 -->

Exit Codes

Code Meaning
0 Success — no lint violations (or files are already formatted with format --check)
1 Lint violations found (or files need formatting with format --check)
2 Runtime error (invalid config, file not found, etc.)

Rules

Rules marked ✓ in the Fix column are auto-corrected by mdlint check --fix and mdlint format. Rules without ✓ are reported by mdlint check only and require manual correction. Default shows mdlint's configured default for the rule's key parameter(s); markdownlint shows the original markdownlint default where it differs from mdlint's. — means the rule has no configurable parameters.

MD013 is marked ✓* because it is the one rule the two paths disagree on: with reflow on, mdlint format fixes over-long paragraphs by reflowing them, but mdlint check --fix never does. Reflow rewrites a whole paragraph, which a per-violation fix cannot express. With reflow off (the default), neither path fixes line length.

Rule Fix Default markdownlint Description Notes
MD001 — — Heading levels should only increment by one level at a time Catches accidental heading skips (e.g. h1 → h3 without h2)
MD003 atx consistent Heading style should be consistent throughout the document Config: style — atx (# Heading), setext, atx_closed, consistent
MD004 ✓ dash consistent Unordered list style should be consistent Config: style — dash, asterisk, plus, consistent
MD005 — — Inconsistent indentation for list items at the same level Catches copy-paste errors where sibling items have different indentation
MD007 indent: 2 Unordered list indentation Config: indent — spaces per nesting level. A list nested in an ordered list is not checked: its indent is the ordered marker's width
MD009 ✓ br_spaces: 2 Trailing spaces Two trailing spaces mean a hard line break; format converts them to \ syntax. Config: br_spaces, strict
MD010 ✓ code_blocks: true Hard tabs Tabs render inconsistently across editors; format replaces with spaces. Config: code_blocks
MD011 — — Reversed link syntax Catches the common typo of swapped parentheses and brackets; should always be enabled
MD012 ✓ maximum: 1 Multiple consecutive blank lines Config: maximum — max consecutive blank lines allowed
MD013 ✓* line: 120, heading: 80, tables: false line: 80, tables: true Line length mdlint raises the line limit to 120 to better fit URLs and long identifiers. line_length doubles as the formatter's fill column: with reflow on, mdlint format reflows paragraphs to it; mdlint check --fix does not (see above). Lines the formatter cannot break -- a bare URL or other single long token -- are exempt, so a reflowing format never leaves behind an MD013 error. Table rows are never wrapped either and cannot be, so tables defaults to off; headings and code blocks keep their own flags on and are still reported. Config: line_length, heading_line_length, code_blocks, tables, headings
MD014 ✓ — — Dollar signs used before commands without showing output $-prefixed shell commands cannot be copy-pasted; omit the $ prompt
MD018 ✓ — — No space after hash on atx style heading #Title renders inconsistently; format inserts the required space
MD019 ✓ — — Multiple spaces after hash on atx style heading # Title → # Title; format normalises to one space
MD020 ✓ — — No space inside hashes on closed atx style heading Only relevant if using #Title# style headings
MD021 ✓ — — Multiple spaces inside hashes on closed atx style heading Only relevant if using #Title# style headings
MD022 ✓ — — Headings should be surrounded by blank lines Required by many renderers for correct parsing; format inserts blank lines
MD023 ✓ — — Headings must start at the beginning of the line Indented headings are treated as code or paragraphs in CommonMark
MD024 siblings_only: false Multiple headings with the same content Config: siblings_only — set true to flag only duplicates within the same parent heading
MD025 — — Multiple top-level headings in the same document Disable for document fragments that intentionally lack a single top-level title. A front matter title field counts as the first top-level heading. Config: front_matter_title
MD026 ".,;:!?。,;:!?" ".,;:!。,;:!" Trailing punctuation in heading Headings are labels, not sentences. mdlint additionally disallows ?. Config: punctuation
MD027 ✓ — — Multiple spaces after blockquote symbol > text → > text; format normalises
MD028 — — Blank line inside blockquote Blank lines split blockquotes into separate elements in CommonMark; may be intentional
MD029 ✓ ordered one_or_ordered Ordered list item prefix mdlint requires sequential numbering, continuing from the list's first number (3. 4. 5. is fine; the start number renders). Config: style — ordered (1. 2. 3.), one (all 1s), one_or_ordered
MD030 ✓ all: 1 Spaces after list markers Config: ul_single, ul_multi, ol_single, ol_multi — spaces after marker per context
MD031 ✓ — — Fenced code blocks should be surrounded by blank lines Some renderers require blank lines around fences to parse correctly
MD032 — — Lists should be surrounded by blank lines Consistent blank lines around lists improve rendering across processors
MD033 allowed_elements: [] Inline HTML HTML reduces portability. Config: allowed_elements — add e.g. ["details", "summary"]
MD034 — — Bare URL used Plain URLs don't render as links in all Markdown processors; use [text](url)
MD035 ✓ --- consistent Horizontal rule style Config: style — ---, ***, ___, consistent
MD036 ".,;:!?。,;:!?" Emphasis used instead of a heading Bold/italic-only paragraphs won't appear in a table of contents. Config: punctuation
MD037 — — Spaces inside emphasis markers * text * and ** text ** do not render as emphasis in CommonMark
MD038 — — Spaces inside code span elements ` text ` is technically valid but inconsistent with expected style
MD039 — — Spaces inside link text [ text ] is valid but inconsistent
MD040 — — Fenced code blocks should have a language specified Language tags enable syntax highlighting. Config: allowed_languages
MD041 level: 1 First line in file should be a top-level heading Disable for files starting with badges or that are document fragments. A front matter title field satisfies this rule. Config: level, front_matter_title
MD042 — — No empty links [text]() is almost always a mistake
MD043 — — Required heading structure Useful for template-driven documentation; too restrictive for most projects. Config: headings
MD044 names: [] Proper names should have the correct capitalization Requires configuration to be useful. Config: names, code_blocks
MD045 — — Images should have alternate text (alt text) Alt text is required for accessibility; screen readers depend on it
MD046 fenced consistent Code block style Config: style — fenced, indented, consistent
MD047 ✓ — — Files should end with a single newline character POSIX standard; prevents "no newline at end of file" noise in git diffs
MD048 backtick consistent Code fence style Config: style — backtick, tilde, consistent
MD049 ✓ asterisk consistent Emphasis style should be consistent Config: style — asterisk, underscore, consistent
MD050 ✓ asterisk consistent Strong style should be consistent Config: style — asterisk, underscore, consistent
MD051 — — Link fragments should be valid Broken #anchor links are invisible to parsers but silently break in-page navigation. Only same-document #anchor links are checked
MD052 shortcut_syntax: false Reference links and images should use a label that is defined Undefined reference links silently render as plain text instead of a link. Bare [label] is checked only with shortcut_syntax = true, since bracketed prose like [sic] is common. Config: shortcut_syntax
MD053 — — Link and image reference definitions should be needed Cleans up leftover link definitions after references are removed
MD054 — — Link and image style Enforces consistent use of inline vs reference link syntax
MD055 leading_and_trailing consistent Table pipe style Config: style — leading_and_trailing, leading_only, trailing_only, no_leading_or_trailing, consistent
MD056 — — Table column count Mismatched column counts cause unpredictable table rendering across processors
MD058 — — Tables should be surrounded by blank lines Blank lines ensure tables are consistently parsed across Markdown processors
MD059 — — Link text should be descriptive "click here" and "read more" are inaccessible; use meaningful link text
MD060 consistent any Table column style mdlint requires a consistent alignment choice. Config: style — consistent, default, left, right, center

Contributing

Contributions are welcome!

Development setup

Prerequisites: mise and Rust. Optionally, Docker is needed for Dockerfile linting. uv is required only if working on the Python package.

git clone https://github.com/swanysimon/mdlint.git
cd mdlint
mise install   # installs prek; other tools install on first use
cargo build

Code quality

Run mise ci before submitting a pull request. It runs every formatter, linter, and the test suite.

mise ci                    # everything, including tests
prek run -a                # formatters and linters only, one line per check
mise tasks ls              # every available task
mise run format            # every formatter
mise run lint              # every linter
mise run lint:rust         # clippy, report only
mise run lint:rust --fix   # clippy, applying autofixes
mise run test

mise ci runs tasks in parallel, so its output interleaves; prek run -a is the readable one when you want to see which check failed at a glance. Tests are not a git hook, so committing never waits on cargo test.

Benchmarking

mise run bench times check and format end to end against a pinned copy of the Rust book (112 Markdown files), downloading the corpus into target/bench/ on first run. The numbers cover process startup, file discovery, I/O and diagnostic rendering, so they reflect the tool as a user experiences it rather than the cost of any single rule. Each command reports wall-clock time and peak memory, and --parallel and --reflow are compared against the plain check and format.

Pull request process

  1. Create a feature branch from main
  2. Make focused commits with clear messages
  3. Add tests for new functionality
  4. Run mise ci and fix any failures
  5. Submit a PR with a description of what changed and why

Release process

Releases use cargo-release, which bumps all package manifests in sync and pushes the tag that triggers CI to build, package, and publish everything automatically:

cargo release patch --execute   # or minor / major

Once the tag is pushed, CI verifies manifest versions, builds binaries for all 7 platforms, and publishes to crates.io, PyPI, and npm via trusted publishing (no tokens required).

License

The Unlicense - see LICENSE for details.

Acknowledgments

Resources

Metadata

Release files for markdownlint-rs 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for markdownlint-rs 0.4.2
File Actions
markdownlint_rs-0.4.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for markdownlint_rs-0.4.2-py3-none-win_amd64.whl
markdownlint_rs-0.4.2-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for markdownlint_rs-0.4.2-py3-none-musllinux_1_2_x86_64.whl
markdownlint_rs-0.4.2-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for markdownlint_rs-0.4.2-py3-none-musllinux_1_2_aarch64.whl
markdownlint_rs-0.4.2-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for markdownlint_rs-0.4.2-py3-none-manylinux_2_28_x86_64.whl
markdownlint_rs-0.4.2-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for markdownlint_rs-0.4.2-py3-none-manylinux_2_28_aarch64.whl
markdownlint_rs-0.4.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for markdownlint_rs-0.4.2-py3-none-macosx_11_0_arm64.whl
markdownlint_rs-0.4.2-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for markdownlint_rs-0.4.2-py3-none-macosx_10_12_x86_64.whl

Total release size: 13.6 MB

Release files / markdownlint_rs-0.4.2-py3-none-win_amd64.whl

Download URL markdownlint_rs-0.4.2-py3-none-win_amd64.whl
Size 2.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1f0562aabe08e9c824911146a4fe7fcd1e152d7a88bc28b4a40d81afd4fe9787
BLAKE2b-256 checksum
How to use checksums
afcb2601ce2cf438074d71e3f2171f6ebaa4a1d3f22ee16459570726b2bd9ba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / markdownlint_rs-0.4.2-py3-none-musllinux_1_2_x86_64.whl

Download URL markdownlint_rs-0.4.2-py3-none-musllinux_1_2_x86_64.whl
Size 2.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
89143d0f3dcb3f7224b0e54a0e750e9958a5646e4908c500d92fed7b39091997
BLAKE2b-256 checksum
How to use checksums
507bbbe3fe9a0165e8e4073ad1bf48553be1a397e56fa94ba19f77592c593c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / markdownlint_rs-0.4.2-py3-none-musllinux_1_2_aarch64.whl

Download URL markdownlint_rs-0.4.2-py3-none-musllinux_1_2_aarch64.whl
Size 1.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5b8beed1df9b171ebb1da37f8e76f33a8591076b217624efce47204faf93061f
BLAKE2b-256 checksum
How to use checksums
4112e599ada9f671bef4bf744db1f1df0959339d1ab3895de4ba7c813dfd5d67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / markdownlint_rs-0.4.2-py3-none-manylinux_2_28_x86_64.whl

Download URL markdownlint_rs-0.4.2-py3-none-manylinux_2_28_x86_64.whl
Size 2.0 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
fa51942e520f4cd803e4aba72fd2032a3eda44dfd0afd31ece13c60f1df57790
BLAKE2b-256 checksum
How to use checksums
5f4c4e72d8a934c419afa6fa65bf101d0d3266211059908ad4d3944285e6921c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / markdownlint_rs-0.4.2-py3-none-manylinux_2_28_aarch64.whl

Download URL markdownlint_rs-0.4.2-py3-none-manylinux_2_28_aarch64.whl
Size 1.9 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0591f2d108784fd53063096fca65e40c604bf868b78102f8ffdaf2c26f99e421
BLAKE2b-256 checksum
How to use checksums
0bbc4c4851e67f147acb5beb0fa4a2ea47f558e28b34ec73d9af23dca21be4b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / markdownlint_rs-0.4.2-py3-none-macosx_11_0_arm64.whl

Download URL markdownlint_rs-0.4.2-py3-none-macosx_11_0_arm64.whl
Size 1.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
23c78a72d3e7d5fd364ca2420a5e3dfafb7896b300d0332a510d8e5d20ea4b76
BLAKE2b-256 checksum
How to use checksums
fd59a4a0184384063bfc5374223e8adbe6571432e4bb674761c676c246bf4701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / markdownlint_rs-0.4.2-py3-none-macosx_10_12_x86_64.whl

Download URL markdownlint_rs-0.4.2-py3-none-macosx_10_12_x86_64.whl
Size 1.9 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c8adb377d718c73eb4df2498ee4bb54d01f6b66a6433e5b8857ce52c9f865f3b
BLAKE2b-256 checksum
How to use checksums
97224b8c9e59f5fd7fc98221638767a55e314f65515f837f3f67e38031d678b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for markdownlint-rs 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page