{"library":"remark-lint-table-pipes","title":"remark-lint-table-pipes","description":"A remark-lint rule that warns when GFM table rows lack initial or final pipe delimiters. Current stable version is 5.0.1. This is an ESM-only package for Node.js 16+. It is part of the remark-lint ecosystem and included in the markdown-style-guide preset. Unlike other table lint rules that check alignment or cell padding, this rule specifically enforces that every row starts and ends with a pipe character, which is recommended by the markdown style guide and automatically fixed by remark-stringify.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-table-pipes"],"cli":null},"imports":["import remarkLintTablePipes from 'remark-lint-table-pipes'","import remarkLintTablePipes from 'remark-lint-table-pipes'","import { unified } from 'unified'"],"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 remarkLintTablePipes from 'remark-lint-table-pipes';\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(remarkLintTablePipes)\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(file));","lang":"typescript","description":"Shows how to use the remark-lint-table-pipes rule programmatically with unified.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}