-
Notifications
You must be signed in to change notification settings - Fork 87
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
Feedback - Enhance Syntax Highlighting on the course content #2487
Comments
@laxmariappan thanks for logging this. This is a known issue that's related to the current classic theme that Learn.WordPress.org uses. As we're busy developing a new block theme, once the new theme launches, this issue should be resolved. cc @adamwoodnz it would be great if we could confirm that the code block syntax highlighting works as expected for lessons when the new theme is developed. |
Thanks, I'll add it to the redesign project. |
@jonathanbossenger I updated the code block language on the code block in the lesson plan and it looks like its working. Is there something different expected?
Video: https://d.pr/i/Ztmy5K |
Ah, my apologies folks, I was confusing the ability to highlight lines of code within the code block (which we don't have), with the ability to show syntax highlighting for specific languages, which we do have. Thanks for picking this up @StevenDufresne, I'll make a note to update the code snippets in that course, and then close this ticket once that's done. |
Type of feedback
//content
Description
Can we enhance the syntax highlighting on the training content?
Step-by-step reproduction instructions (optional)
Go to https://learn.wordpress.org/lesson/accessing-wordpress-data/
You can view a couple of code blocks
They have both JS and PHP code.
But as a reader I find it hard to differentiate code
Screenshots or screen recording (optional)
Without highlighting on the page:
Demo of syntax highlighting
Other information (optional)
The text was updated successfully, but these errors were encountered: