-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Syntax Highlighter Block: Cannot format MATLAB code. #38788
Comments
I believe we use a version of SyntaxHighlighter Evolved on WordPress.com. I tested the user's MATLAB example on Jurassic Ninja using that plugin and it caused an error: On my test site the code wasn't formatted, but also didn't cause layout issues as in the screenshots above. @mkaz I also tested your plugin and it worked as expected. Pinging you in case you have bandwidth to take a look at this issue given your expertise :) |
The Evergreen team (formerly Guardians) is managing the SyntaxHighlighter plugin so they might be able to help with the errors. With the regards to my plugin, I saw this raised in another channel and provided some info, but not sure the priority of switching out, or if anyone is working on it. @simison might know? |
No plans as far as I know. WordPress.com blocks are maintained by Grow focus tho, @lessbloat @obenland @creativecoder |
Noting another complaint here: This person is switching to C to see the code displayed properly. |
Noting that I'm still able to replicate this issue. I've tested with Twenty-Twenty and Twenty-Twenty One themes. |
@Automattic/evergreen Is this something you've come across before or could possibly help out with? |
I put up a fix for it in Automattic/syntaxhighlighter#188. I think the WPCOM version has diverged a bit, but this is an easy change to make so once approved I'll fix it on WPCOM. |
Steps to reproduce
What I expected
What happened instead
#user-report Ticket #2622184 in zd with the user having this issue (Using Maywood theme)
Browser / OS version
Google Chrome Version 78.0.3904.97 (Official Build) (64-bit)
Screenshots
Unformatted code:
The text was updated successfully, but these errors were encountered: