TomasHubelbauer / vscode-markdown-table-format

Formats tables in MarkDown documents when using the Format Document editor context menu option in VS Code.
MIT License
14 stars 5 forks source link

Whether to consider supporting escape characters? #3

Open sjlei opened 5 years ago

sjlei commented 5 years ago

If I want to use | in the table,I can use \| to escape. but your plugin doesn't recognize it, causing formatting errors.

QQ截图20190328173741

QQ截图20190328173751

name type required description
id string | array yes
TomasHubelbauer commented 5 years ago

Thank you! I was not aware it was possible to escape the pipe character like this. I will make it so that escaped pipe characters are respected and do not break the table layout.

sjlei commented 5 years ago

Thank you! I need this feature, you have worked hard!