prettier-markdown-table
is a Prettier plugin designed to format tables in Markdown files, especially those with long content. It ensures proper alignment and readability by automatically adjusting column widths and maintaining consistent table structure. Say goodbye to misaligned tables and enjoy clean, well-formatted Markdown documents with ease.
npm i prettier-markdown-table -D
yarn add prettier-markdown-table -D
pnpm add prettier-markdown-table -D
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"plugins": ["prettier-markdown-table"]
}