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

Documentation for coderay options #2

Open
cseas opened this issue Apr 30, 2019 · 2 comments
Open

Documentation for coderay options #2

cseas opened this issue Apr 30, 2019 · 2 comments

Comments

@cseas
Copy link

cseas commented Apr 30, 2019

I was looking for some documentation to understand the coderay options in Jekyll Kramdown configuration. I was able to figure the options out from this file but couldn't find any documentation explaining the options.

Is there any documentation present on this except the one in this repository's README? I'd be willing to write one if not present. The explanation of options in the README doesn't provide any useful hint on how to use them.

@jvacek
Copy link

jvacek commented Jan 8, 2021

Bump @glebm this would be really appreciated

@kuch3n
Copy link

kuch3n commented Sep 23, 2024

If you want to adjust colors, widths, fonts etc. You have to get a CSS file first: coderay stylesheet > assets/css/coderay.scss.

Then you have to link your CSS file in your layout:
If you don't have the appropriate files of your layout yet, you can find them by using bundle info --path minima (minima is your theme name). I copied _includes/head.html and inserted <link rel="stylesheet" href="{{ "/assets/css/coderay.css" | relative_url }}">.

Now it's up to you styling syntax highlighting with CSS.

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

3 participants