New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grammar scope: Table syntax #5
Comments
After much trial and error, the grammar for tables mostly works. This was my test markup, which is not representative of every possible Textile table syntax, but most of it:
I did my testing at Regexr. And here's the current effect... Note the one dot after the row selector at start of third-to-last row is not greyed out. I could not figure out how to get that one dot without screwing up much more of the other bits, so that one foreground dot is okay with me. I never use a row selector like that anyway. |
Fixed with c97a592 |
A scope is needed for greying out all table syntax, leaving only the cell headers and data foreground color.
Note this is different from how iA Writer treats tables; it leaves the syntax as foreground color. Thus, this enhancement would be an improvement over the iA Writer aesthetic.
Requires a concentrated look at regular expressions for this.
The text was updated successfully, but these errors were encountered: