Skip to content

MD010 - no-hard-tabs

Description

This rule detects hard tab characters in Markdown files. It triggers on any lines that contain tab characters.

Rationale

Hard tabs are often rendered inconsistently by different editors and can be harder to work with than spaces. Different applications interpret tab width differently (some use 4 spaces, others 8), creating formatting problems across platforms.

Configuration

code_blocks

Whether to check code blocks and inline code spans for hard tabs. When True (default), code blocks and inline code spans are checked. When False, fenced code blocks, indented code blocks, and inline code spans are ignored.

  • Default: true