Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo
[git.ikiwiki.info.git]
/
doc
/
ikiwiki
/
directive
/
format.mdwn
diff --git
a/doc/ikiwiki/directive/format.mdwn
b/doc/ikiwiki/directive/format.mdwn
index 94cf1b04fdc24f70981716b18c9d5d94d8f73149..7d11d225f23cc4987964894e23f5ace370234d1e 100644
(file)
--- a/
doc/ikiwiki/directive/format.mdwn
+++ b/
doc/ikiwiki/directive/format.mdwn
@@
-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"]]