A remark-lint rule that warns when GFM table cell dividers (pipes) are not aligned consistently. Current stable version is 4.1.1. This package is part of the remark-lint monorepo, which releases updates across all packages simultaneously. It enforces table formatting consistency, complementing other remark-lint table rules like remark-lint-table-cell-padding. Supports custom string length detection function for CJK/emoji characters. ESM-only, requires Node.js 16+.
npm install remark-lint-table-pipe-alignmentNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Uses unified pipeline to parse Markdown, lint table pipe alignment, stringify, and report warnings.
Use ES module imports (import ... from 'remark-lint-table-pipe-alignment') instead of require().
Upgrade to v4+ and switch to ESM.
Install remark-gfm and add .use(remarkGfm) before lint rules in the unified pipeline.
Provide a function that measures display width, e.g., using the 'string-width' package.
Run 'npm install remark-lint-table-pipe-alignment' and use import syntax.
Add "type": "module" to package.json or rename file to .mjs.
Use 'import remarkLintTablePipeAlignment from 'remark-lint-table-pipe-alignment''.
No dependency data recorded yet.