Note: Per the contribution guidelines, deleting parts of the template or not filling in vital information may result in the issue to be immediately closed as invalid.
[This is a copy of https://github.com/valentjn/vscode-ltex/issues/605]
Is your feature request related to a problem? Please describe.
In a markdown label it makes the structure clearer if the columns, i.e. the separator symbols | are aligned.
To reach this, the cell content must be padded with spaces.
If left aligned the spaces come at the right hand side and the other way round.
If formatted that way, ltex detects violation of whitespace rule
which i consider a false positive in a sense.
Describe the solution you'd like
I would like to suggest to weaken the whitespace rule:
Outside a cell of a table it shall be as it is. (trailing whitespace in a line representing a row of a table shall be a violation)
Inside the cell of a table trailing whitespaces shall be allowed for left aligned cells
and leading whitespaces for right aligned cells.
For centered cells both shall be allowed.
Describe alternatives you've considered
Well, maybe just inside tables both trailing whitespaces and leading whitespaces shall be allowed.
Additional context
I think this is not needed in this case.
Note: Per the contribution guidelines, deleting parts of the template or not filling in vital information may result in the issue to be immediately closed as invalid.
[This is a copy of https://github.com/valentjn/vscode-ltex/issues/605]
Is your feature request related to a problem? Please describe.
In a markdown label it makes the structure clearer if the columns, i.e. the separator symbols | are aligned.
To reach this, the cell content must be padded with spaces.
If left aligned the spaces come at the right hand side and the other way round.
If formatted that way, ltex detects violation of whitespace rule
which i consider a false positive in a sense.
Describe the solution you'd like
I would like to suggest to weaken the whitespace rule:
Outside a cell of a table it shall be as it is. (trailing whitespace in a line representing a row of a table shall be a violation)
Inside the cell of a table trailing whitespaces shall be allowed for left aligned cells
and leading whitespaces for right aligned cells.
For centered cells both shall be allowed.
Describe alternatives you've considered
Well, maybe just inside tables both trailing whitespaces and leading whitespaces shall be allowed.
Additional context
I think this is not needed in this case.