Drop requirement for first character to be a pipe `|`. Pipes seperate columns in markdown.
I request the requirement for first character to be a pipe |, be dropped.
For example, the following table is a valid markdown table:
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
However executing the vscode-markdown-table command "Markdown Table: Format all tables" will have no effect. The extension does not recognize this as a markdown table.
On the other hand the following ...
| First Header | Second Header
| ------------- | -------------
| Content Cell | Content Cell
| Content Cell | Content Cell
... will be recognized and correctly formatted as following the extension's "Markdown Table: Format all tables" command.
To be clear I think either table should be recognized and formatted.
In most, if not all, of the various markdown standards that support tables with a pipe |, the pipe is a separator of columns, not an opener.
- PHP Markdown Extra. "Columns are always separated by the pipe (|) character."
- Reddit Markdown. "Columns are separated by pipes (|) ..."
- Pandoc Markdown. "The syntax is identical to PHP Markdown Extra tables ... the pipes indicate column boundaries".
- MultiMarkdown. "Columns are separated by | ...."
- Github Markdown "Each row consists of cells containing arbitrary text, in which inlines are parsed, separated by pipes (|)"
I'm trying to allow tables not have begining |. But unfortunately it's difficult.
Because all implementations in this extention assume that "| must be in the begining of line".
Thanks @takumisoft68, see what you can do.