-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix code highlighting #45
Comments
https://github.com/gohugoio/gohugoioTheme/blob/master/src/js/hljs.js#L14 There are aliases I can modify all code blocks to use |
@rdwatters if it is |
Just to be clear: Keep the |
The variances are due to the way they are designated in the content. The style is subjective and can be chosen here: https://highlightjs.org/static/demo/ if you prefer to pick one out yourself. |
@budparr you are replying to these issues as you would to random people from a third support line. Let me rephrase: The code highlighting, esp. for the custom |
Apologies, @bep. Wasn't my intent, just a bit of hit-and-run on my part for time-sake. There's an issue for making the content more consistent here: gohugoio/gohugoioTheme#50 And because you didn't like the color scheme I chose—which I chose to be Hugo-like— I thought you might want to choose one yourself. |
Let us handle this in #50 |
This has nothing to do with the colour scheme. Or very little, but I will fix it now that I have an actual working dev environment. |
Right. That's why I opened up the other issue. As for the language designation, I always think it's worth making content consistent, and it's just a quick find and replace anyways. I can do |
The code highlighting, esp. for the custom golang language definition, looks like crap, and should be fixed as soon as possible.
The text was updated successfully, but these errors were encountered: