-
Pre-checks*
Environment*
The Issue*
Reproduction Steps
3.Highlighting issue occurs: Expected Behavior
LogsLaTeX Workshop Output*
I'm not entirely sure which part is the log, so I've copied all the content from the second tab in the bottom panel of VS Code. I won't copy the next section since it appears to be identical to this one. Developer Tools Console
The content has already been copied above, so it won't be duplicated here. Anything Else?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Unfortunately, grammars used by VS Code cannot be customized by the user. See https://github.com/jlelong/vscode-latex-basics?tab=readme-ov-file#embedded-code-blocks for the conventions hard coded in the LaTeX grammar. |
Beta Was this translation helpful? Give feedback.


Thank you very much. I read through the content in this link in detail and found that I just need to change my custom environment name to end with "code", like "envcode".