-
Notifications
You must be signed in to change notification settings - Fork 169
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
Comments
Oddly I think these are the defaults for this version of rouge but you can
totally add a different theme. (I agree it’s hard to read.)
If you choose one here, then it’s just a matter of figuring out the magic
word in the config to set the theme:
https://spsarolkar.github.io/rouge-theme-preview/
FWIW, I’m partial to the GitHub theme.
Kevin
…On Sat, May 29, 2021 at 9:34 AM aeturrell ***@***.***> wrote:
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 <http://rouge.jneen.net/> 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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#135>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALU5ETXG3SFEFILGWT5JA3TQDUORANCNFSM45YJWK4Q>
.
|
I like both the github and pastie themes. Looking around, I'm not sure I was right about the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: