Support Jekyll 3.0
- Update to Jekyll v3.0 - Switch from Pygments.rb to Rouge for syntax highlighting - Minor updates to syntax.scss partial and theme documentation - Include jekyll-gist gem - Close #192, #218
This commit is contained in:
@ -3,7 +3,7 @@ layout: post
|
||||
title: Syntax Highlighting Post
|
||||
excerpt: "Demo post displaying the various ways of highlighting code in Markdown."
|
||||
tags: [sample post, code, highlighting]
|
||||
modified: 2014-09-14
|
||||
modified: 2016-02-01
|
||||
comments: true
|
||||
---
|
||||
|
||||
@ -11,9 +11,9 @@ Syntax highlighting is a feature that displays source code, in different colors
|
||||
|
||||
[^1]: <http://en.wikipedia.org/wiki/Syntax_highlighting>
|
||||
|
||||
### Pygments Code Blocks
|
||||
### Highlighted Code Blocks
|
||||
|
||||
To modify styling and highlight colors edit `/_sass/_pygments.scss`.
|
||||
To modify styling and highlight colors edit `/_sass/syntax.scss`.
|
||||
|
||||
{% highlight css %}
|
||||
#container {
|
||||
@ -73,7 +73,7 @@ end
|
||||
|
||||
### Fenced Code Blocks
|
||||
|
||||
To modify styling and highlight colors edit `/_sass/_coderay.scss`. Line numbers and a few other things can be modified in `_config.yml`. Consult [Jekyll's documentation](http://jekyllrb.com/docs/configuration/) for more information.
|
||||
To modify styling and highlight colors edit `/_sass/coderay.scss`. Line numbers and a few other things can be modified in `_config.yml`. Consult [Jekyll's documentation](http://jekyllrb.com/docs/configuration/) for more information.
|
||||
|
||||
~~~ css
|
||||
#container {
|
||||
|
Reference in New Issue
Block a user