{"library":"remark-lint-table-pipe-alignment","title":"remark-lint-table-pipe-alignment","description":"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+.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-table-pipe-alignment"],"cli":{"name":"remark","version":null}},"imports":["import remarkLintTablePipeAlignment from 'remark-lint-table-pipe-alignment'","import type { Options } from 'remark-lint-table-pipe-alignment'","unified().use(remarkLint).use(remarkLintTablePipeAlignment, { stringLength: (s) => s.length })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified';\nimport remarkParse from 'remark-parse';\nimport remarkStringify from 'remark-stringify';\nimport remarkLint from 'remark-lint';\nimport remarkLintTablePipeAlignment from 'remark-lint-table-pipe-alignment';\nimport { read } from 'to-vfile';\nimport { reporter } from 'vfile-reporter';\n\nconst file = await read('example.md');\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintTablePipeAlignment)\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(file));","lang":"typescript","description":"Uses unified pipeline to parse Markdown, lint table pipe alignment, stringify, and report warnings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}