Upgrading 2-3: note that default syntax highlighter changed.

Fixes #4176
This commit is contained in:
Parker Moore 2015-11-23 08:29:18 -08:00
parent 2011addabc
commit bf66d1fc23
1 changed files with 10 additions and 0 deletions

View File

@ -61,4 +61,14 @@ merged and some unexpected behaviour. In Jekyll 3, all layout data is accessible
in Liquid. For example, if your layout has `class: my-layout` in its YAML front matter,
then the layout can access that via `{% raw %}{{ layout.class }}{% endraw %}`.
### Syntax highlighter changed
For the first time, the default syntax highlighter has changed for the
`highlight` tag and for backtick code blocks. Instead of [Pygments.rb][],
it's now [Rouge][]. If you were using the `highlight` tag with certain
options, such as `hl_lines`, they may not be available when using Rouge. To
go back to using Pygments, set `highlighter: pygments` in your
`_config.yml` file and run `gem install pygments.rb` or add
`gem 'pygments.rb'` to your project's `Gemfile`.
_Did we miss something? Please click "Improve this page" above and add a section. Thanks!_