-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Markdown Fenced PHP Code Block is Not Syntax Highlighted #3746
Comments
I can still reproduce with our new extension. |
Firstly we missed the fenced code syntax detecting in markdown tmlanguage, just added it kieferrm/vscode-markdown@bd395e1 . But we still have problem with plist injecting, which makes the inner code highlighting doesn't work. I'm looking into it right now. |
Adding fenced code for php was necessary but did not fixed the php highlighting issue. |
Same issue for lua |
@Stanzilla Lua highlighting seems to work now: Also, the indented code block version is now being correctly not colored: The main bug is still that the fenced php code block is not syntax highlighted. It is unclear what is different about the php language here. The fenced php code block is being detected and parsed properly, but the php grammar does not seem to be applied. Updating bug title to reflect this being specific to php (at least to my knowledge) |
When creating a code fence, the block doesn't get colored as code (stays white), but it does display as code in the preview.
If I tab the code with 4 spaces it does color it properly.
Here is an example:
The text was updated successfully, but these errors were encountered: