From 1a837bbdb56f4971d769726aae05c64f83d48752 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sun, 14 Sep 2014 14:55:21 -0400 Subject: [PATCH] Remove references to .less - Add Gist example --- _posts/2013-08-16-code-highlighting-post.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/_posts/2013-08-16-code-highlighting-post.md b/_posts/2013-08-16-code-highlighting-post.md index 1b34451..a05fc3d 100644 --- a/_posts/2013-08-16-code-highlighting-post.md +++ b/_posts/2013-08-16-code-highlighting-post.md @@ -3,15 +3,17 @@ 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-08-09T13:39:56.408513-04:00 +modified: 2014-09-14 comments: true --- -[Syntax highlighting](http://en.wikipedia.org/wiki/Syntax_highlighting) is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers. +Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.[^1] + +[^1]: ### Pygments Code Blocks -To modify styling and highlight colors edit `/_sass/pygments.scss`. +To modify styling and highlight colors edit `/_sass/_pygments.scss`. {% highlight css %} #container { @@ -21,9 +23,7 @@ To modify styling and highlight colors edit `/_sass/pygments.scss`. } {% endhighlight %} -Line numbering enabled: - -{% highlight html linenos %} +{% highlight html %} {% raw %}