Skip to content
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

Better syntax highlighting #135

Open
aeturrell opened this issue May 29, 2021 · 2 comments
Open

Better syntax highlighting #135

aeturrell opened this issue May 29, 2021 · 2 comments

Comments

@aeturrell
Copy link
Contributor

This is fairly minor as issues go, but the code syntax highlighting on the site is subtle and, in some examples, looks like plain text. I wondered if you'd be interested in changing the settings in a way that produces more contrast between different code elements.

I think the site uses rouge for syntax highlighting but it seems like the rouge default is more colourful than what is being currently displayed on the site.

It seems like rouge settings are configured in _config.yml but I'm not sure how one would change them to get the rouge default syntax highlighting to display instead of the current setup.

@khwilson
Copy link
Contributor

khwilson commented May 29, 2021 via email

@aeturrell
Copy link
Contributor Author

I like both the github and pastie themes.

Looking around, I'm not sure I was right about the _config.yml file. eg this post seems to suggest that there should be a CSS file somewhere that has the theme setting in (though my googling about how to change it has mostly just left me confused).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants