Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 696 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 696 Bytes

prettier-markdown-table

Intro

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.

Usage

Install

npm i prettier-markdown-table -D
yarn add prettier-markdown-table -D
pnpm add prettier-markdown-table -D

.prettierrc example

{
  "trailingComma": "es5",
  "tabWidth": 2,
  "semi": false,
  "plugins": ["prettier-markdown-table"]
}