docs: improve how to include rouge stylesheets (#7752)

Merge pull request 7752
This commit is contained in:
Michael Bishop 2019-08-02 23:32:07 -04:00 committed by jekyllbot
parent 532c499751
commit 07270c7cfd
1 changed files with 11 additions and 1 deletions

View File

@ -78,7 +78,17 @@ end
In order for the highlighting to show up, youll need to include a highlighting
stylesheet. For Pygments or Rouge you can use a stylesheet for Pygments, you
can find an example gallery [here](http://help.farbox.com/pygments.html).
can find an example gallery
[here](https://jwarby.github.io/jekyll-pygments-themes/languages/ruby.html)
or from [its repository](https://github.com/jwarby/jekyll-pygments-themes).
Copy the CSS file (`native.css` for example) into your css directory and import
the syntax highlighter styles into your `main.css`:
```css
@import "native.css";
```
## Links