]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/ikiwiki/directive/format.mdwn
Updated pproc-indent by catching only indent at beginning of line
[git.ikiwiki.info.git] / 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"]]