From 46169d3f45c365d4ada3a7ba90a5555547005326 Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Sat, 13 Dec 2008 18:20:21 -0800 Subject: [PATCH] add include docs to readme --- README.textile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.textile b/README.textile index dec03cd2..82f3a84d 100644 --- a/README.textile +++ b/README.textile @@ -62,7 +62,15 @@ The autobuild feature can be used on any of the invocations. h2. Filters, Tags, and Blocks -h3. Code Highlighting +h3. Include Tag + +If you have small page fragments that you wish to include in multiple places on your site, you can use the include tag. + +
{% include sig.textile %}
+ +Jekyll expects all include files to be placed in an _includes directory at the root of your source dir. So this will embed the contents of /path/to/proto/site/_includes/sig.textile into the calling file. + +h3. Code Highlighting Block Jekyll has built in support for syntax highlighting of over "100 languages":http://pygments.org/languages/ via "Pygments":http://pygments.org/.