]> sipb.mit.edu Git - ikiwiki.git/commitdiff
mention highlight
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 23 May 2009 09:21:19 +0000 (05:21 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 23 May 2009 09:21:19 +0000 (05:21 -0400)
doc/ikiwiki/directive/format.mdwn

index 94cf1b04fdc24f70981716b18c9d5d94d8f73149..23830e9cd59e69d04217287627b221770b3908e3 100644 (file)
@@ -18,4 +18,12 @@ some other format:
                4
        """]]
 
                4
        """]]
 
+Note that if the highlight plugin is enabled, this directive can also be
+used to display syntax highlighted code. Many languages and formats are
+supported. For example:
+
+       \[[format perl """
+       print "hello, world\n";
+       """]]
+
 [[!meta robots="noindex, follow"]]
 [[!meta robots="noindex, follow"]]