projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47298b0
)
mention highlight
author
Joey Hess
<joey@gnu.kitenet.net>
Sat, 23 May 2009 09:21:19 +0000
(
05:21
-0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sat, 23 May 2009 09:21:19 +0000
(
05:21
-0400)
doc/ikiwiki/directive/format.mdwn
patch
|
blob
|
history
diff --git
a/doc/ikiwiki/directive/format.mdwn
b/doc/ikiwiki/directive/format.mdwn
index 94cf1b04fdc24f70981716b18c9d5d94d8f73149..23830e9cd59e69d04217287627b221770b3908e3 100644
(file)
--- a/
doc/ikiwiki/directive/format.mdwn
+++ b/
doc/ikiwiki/directive/format.mdwn
@@
-18,4
+18,12
@@
some other format:
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"]]