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
Add syntax highlighting to code examples in docs #1156
Comments
|
We are already doing syntax highlighting. Feel free to re-open if you have a specific example that isn't getting syntax highlighting. |
|
It must have broken everywhere then. You can see my UA info here: http://www.whatsmyua.com/#Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 And you can see a screenshot below. |
|
I double this issue. I thought highlighting was turned off for some reason. Latest firefox. I do see highlighting classes in html, but they are still not colored. It used to work for me some time ago. |
|
Yeah, I checked earlier, the highlighting transformation appears to be happening in most places but it isn't loading the stylesheet I think. |
|
docs.perl6.org is fixed now as of 9525968 |
|
That is not the same problem. That is related to what is in the pod6 files the docs are created from. Anything tagged as pod-block-code usually means that's what the block was inside tho doc file
|
|
@samcv Should it be left open as a "someone can feel free to change this so it's consistent" type of task? |
|
I think there's another ticket for that, not sure which |
|
But it's not the original issue, which is why I closed it. It's a separate problem |
|
If you can't find one, please open an issue for it. The pod6 file has Thanks |
|
@WildYorkies I have opened an issue here for this https://github.com/perl6/doc/issues/1164 I also wrote my proposed solution for this, and a more detailed explanation of why this currently happens. |


Syntax highlighting to code examples (especially in tutorials) would help with readability / helping beginners see that it's not just line noise.
The text was updated successfully, but these errors were encountered: