docs: improve how to include rouge stylesheets (#7752)
Merge pull request 7752
This commit is contained in:
parent
532c499751
commit
07270c7cfd
|
@ -78,7 +78,17 @@ end
|
||||||
|
|
||||||
In order for the highlighting to show up, you’ll need to include a highlighting
|
In order for the highlighting to show up, you’ll need to include a highlighting
|
||||||
stylesheet. For Pygments or Rouge you can use a stylesheet for Pygments, you
|
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
|
## Links
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue