aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/write.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-09 02:38:43 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-09 02:38:43 -0500
commitdeb39a1f14a840761f32011f28fe698015d8b298 (patch)
tree5dceb2dd19b6459721b1bc10d4e3896e513d7d49 /doc/plugins/write.mdwn
parent405e8a703126cc5de426063dedbd2394b747782a (diff)
downloadikiwiki-deb39a1f14a840761f32011f28fe698015d8b298.tar
ikiwiki-deb39a1f14a840761f32011f28fe698015d8b298.tar.gz
* meta: Run in scan mode again (more intelligently) and re-add support for
meta link. * Fix support for the case where metadata appears after an inline directive. This was broken in version 2.16.
Diffstat (limited to 'doc/plugins/write.mdwn')
-rw-r--r--doc/plugins/write.mdwn4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 34caf83f6..0da425402 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -123,7 +123,9 @@ An optional "scan" parameter, if set to a true value, makes the hook be
called during the preliminary scan that ikiwiki makes of updated pages,
before begining to render pages. This parameter should be set to true if
the hook modifies data in `%links`. Note that doing so will make the hook
-be run twice per page build, so avoid doing it for expensive hooks.
+be run twice per page build, so avoid doing it for expensive hooks. (As an
+optimisation, if your preprocessor hook is called in a void contets, you
+can assume it's being run in scan mode.)
Note that if the [[htmlscrubber]] is enabled, html in
[[ikiwiki/PreProcessorDirective]] output is sanitised, which may limit what