#Referring to 1) styled enum elements seems to break syntax highlighting
20 messages · Page 1 of 1 (latest)
indeed the last parens doesnt seem to be matching anything
within $...$ you're in math mode, where parens may have differing meanings depending on whether you're calling a function or not
outside of it you're in markup mode, where all parentheses are literal
note that when you type #something(), # begins code mode, where parentheses are not literal
but in markup mode they are always literal
Here I'm meaning ( in "1)" ..... )
Are there good ways to save syntax highlighting?
It considers (in 1) to be matching parentheses. If I type a '(' inside it, the online editor won't give an automatic ')'. Highlighting faces similar issues.
what are you using for highlighting?
which editor etc
oh the web app
i assume the document still compiles though, yeah?
it's likely just some regex failure somewhere
it's trying to be smart but failing
¯_(ツ)_/¯
you can try to #[1)] instead
The webapp, and vscode. They both fail.