Skip to content

Can I disable WHITESPACE_RULE just for Markdown? #218

Answered by valentjn
yzhang-gh asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the suggestion. Up to now, LTEX didn't treat tables specially and forwarded them directly to LanguageTool, which led to the false positives (which have annoyed me as well). Actually, it's surprising there were not more false positives with all the dashes and pipes.

It's better to solve the problem at its root, i.e., support tables instead of disabling rules for the whole document, which might lead to false negatives elsewhere.

I didn't know this, but there are lots of extensions for LTEX's Markdown parser Flexmark. One of them is for tables as in GitHub Flavored Markdown. I enabled that and I think the false negatives about too much whitespace in tables should be gone now/in th…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yzhang-gh
Comment options

@valentjn
Comment options

@yzhang-gh
Comment options

Answer selected by yzhang-gh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants