Skip to content

Add FMT005: Detect Markdown table syntax (Issue #38)#43

Merged
rdmueller merged 1 commit intodocToolchain:mainfrom
raifdmueller:feature/issue-38-fmt005-markdown-tables
Feb 12, 2026
Merged

Add FMT005: Detect Markdown table syntax (Issue #38)#43
rdmueller merged 1 commit intodocToolchain:mainfrom
raifdmueller:feature/issue-38-fmt005-markdown-tables

Conversation

@raifdmueller
Copy link
Collaborator

Summary

  • Adds new rule FMT005 that detects Markdown table syntax in AsciiDoc files
  • Detects separator rows (|---|---|) and flags adjacent data/header rows
  • Severity is ERROR since Markdown tables break AsciiDoc rendering
  • Properly skips content inside code blocks and AsciiDoc table regions (|===)

Closes #38

Test plan

  • 22 new tests covering separator detection, row detection, AsciiDoc table exclusion, code block skipping, edge cases, and rule metadata
  • All 238 tests pass
  • black and flake8 checks pass
  • 97% code coverage on new rule file

🤖 Generated with Claude Code

…Toolchain#38)

Adds a new rule that detects Markdown table syntax (separator rows like
|---|---| and adjacent data rows) and suggests using AsciiDoc table
syntax (|===) instead. Severity is ERROR since Markdown tables break
AsciiDoc rendering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@raifdmueller raifdmueller force-pushed the feature/issue-38-fmt005-markdown-tables branch from 9f9fd8e to 23c6bff Compare February 12, 2026 10:51
@rdmueller rdmueller merged commit ea40b5d into docToolchain:main Feb 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Detect Markdown table syntax in AsciiDoc files

2 participants

Comments