Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Mdl Processor

Purpose

Lints Markdown files using mdl (Ruby markdownlint).

How It Works

Discovers .md files in the project and runs mdl on each file. A non-zero exit code fails the product.

Depends on the gem processor — uses the mdl binary installed by Bundler.

Source Files

  • Input: **/*.md
  • Output: none (checker)

Configuration

[processor.mdl]
gem_home = "gems"                      # GEM_HOME directory
mdl_bin = "gems/bin/mdl"              # Path to the mdl binary
args = []                              # Additional arguments to pass to mdl
gem_stamp = "out/gem/root.stamp"       # Stamp file from gem processor (dependency)
extra_inputs = []                      # Additional files that trigger rebuilds when changed
KeyTypeDefaultDescription
gem_homestring"gems"GEM_HOME directory for Ruby gems
mdl_binstring"gems/bin/mdl"Path to the mdl executable
argsstring[][]Extra arguments passed to mdl
gem_stampstring"out/gem/root.stamp"Stamp file from gem processor (ensures gems are installed first)
extra_inputsstring[][]Extra files whose changes trigger rebuilds