Skip to content

`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.

Notifications You must be signed in to change notification settings

Alex-huxiyang/mdTable-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"]
}

About

`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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published