Prettier plugin that sorts markdown tables #14364
SevenOutman
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Great tool 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This line seems not correct to me, the first column can have leading space, can be shorter than other rows, should get the first column trimed then sort. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just made this Prettier plugin prettier-plugin-sort-markdown-table that sorts markdown tables according to their first columns.
It's handy when I'm documenting my React components about their props, and wants to keep the table in alphabetic order.
Hope it also helps you. :)
Beta Was this translation helpful? Give feedback.
All reactions