kramdown/syntax-coderay

Documentation for coderay options

Opened this issue · 2 comments

cseas commented

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.

Bump @glebm this would be really appreciated

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.