vscode-markdown-table-formatter
vscode-markdown-table-formatter copied to clipboard
apply on other plain-text tables too?
- would it be possible to use this awesome extension on dsv (delimiter-separated-values) tables too?
- where the "d" is mostly comma
,i.e. the CSVs
looking at this file though, https://github.com/fcrespo82/vscode-markdown-table-formatter/blob/master/src/MarkdownTableRegex.ts it indeed seems non-trivial to support different formats, but i just thought to share the thought with u.
well, one way can be to make it work on the basis of file type & have different parser for dsv (or just csv too for the moment).
once the parser makes the source into the table object - i guess then that manipulation operations can work 90% the same. that is, if the output part is not directly coupled with manipulation