From 945a24e56837c2682e0f800994e749191d8a9903 Mon Sep 17 00:00:00 2001 From: Vishesh Ruparelia Date: Sun, 22 Oct 2017 21:09:08 +0530 Subject: [PATCH] Update templates.md (#6466) Merge pull request 6466 --- docs/_docs/templates.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/_docs/templates.md b/docs/_docs/templates.md index c36f0910..38e55717 100644 --- a/docs/_docs/templates.md +++ b/docs/_docs/templates.md @@ -469,6 +469,13 @@ you want to highlight, look for the “short name” on the [Rouge wiki](https://github.com/jayferd/rouge/wiki/List-of-supported-languages-and-lexers) or the [Pygments' Lexers page](http://pygments.org/docs/lexers/). +
+
Jekyll processes all Liquid filters in code blocks
+

If you are using a language that contains curly braces, you + will likely need to place {% raw %} and + {% endraw %} tags around your code.

+
+ #### Line numbers There is a second argument to `highlight` called `linenos` that is optional.