Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to config prettier not to auto-wrap markdown table?

Prettier's auto-format feature for table in markdown is great, however it also auto-wrap the table, which leads to awful readability when the table has wide columns.

So can I config prettier not to auto-wrap markdown tables? How?

like image 461
Yan Avatar asked Sep 18 '25 11:09

Yan


1 Answers

i found only solution is to add <!-- prettier-ignore --> above table you can find out here. https://github.com/prettier/prettier-vscode/issues/762

like image 113
Jinawong Jino Avatar answered Sep 21 '25 02:09

Jinawong Jino