#linter #markdown #lint

app quickmark-cli

Lightning-fast Markdown/CommonMark linter CLI tool with tree-sitter based parsing

7 releases (3 stable)

1.1.0 Sep 7, 2025
1.0.1 Sep 4, 2025
1.0.0 Aug 27, 2025

#264 in Text processing

Download history

350 downloads per month

MIT license

1MB
22K SLoC

quickmark-cli

Lightning-fast Markdown/CommonMark linter CLI tool with tree-sitter based parsing.

Overview

quickmark-cli provides a command-line interface for QuickMark, enabling fast Markdown linting from the terminal with parallel file processing and comprehensive file pattern support.

Installation

cargo install quickmark-cli

Usage

# Lint a single file
qmark document.md

# Lint multiple files
qmark *.md

# Lint directory recursively
qmark docs/

# Use specific configuration
qmark --config quickmark.toml src/

Features

  • Parallel Processing: Uses rayon for concurrent file linting
  • File Pattern Matching: Supports glob patterns and gitignore-style filtering
  • Configurable: Loads quickmark.toml configuration files
  • Fast: Built on the high-performance quickmark-core library
  • Cross-platform: Works on Linux, macOS, and Windows

Configuration

QuickMark looks for quickmark.toml in the current directory. If not found, default configuration is used.

Example configuration:

[rules]
MD013 = "warn"  # Line length
MD024 = "error" # Multiple headings with same content

Binary Name

The CLI tool is installed as qmark for quick access.

License

MIT

Dependencies

~11–16MB
~349K SLoC