]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/write.mdwn
web commit by joey
[ikiwiki.git] / doc / plugins / write.mdwn
index e09ca35104303cb0afdf326f2406d8f9317413cd..0f2c2634476d0512421884b11fcc1ffae8f16e87 100644 (file)
@@ -27,11 +27,10 @@ ikiwiki. The function takes four parameters:
 
 ## Writing a [[PreProcessorDirective]]
 
-For preprocessor commands, the subroutine is passed named parameters. A
-"page" parameter gives the name of the page that embedded the preprocessor
-command. All parameters included in the preprocessor command are included
+For preprocessor directives, the subroutine is passed named parameters. A
+"page" parameter gives the name of the page that embedded the preprocessor directive. All parameters included in the directive are included
 as named parameters as well. Whatever the subroutine returns goes onto the
-page in place of the command.
+page in place of the directive.
 
 ## Error handing in plugins
 
@@ -45,7 +44,7 @@ return the error message as the output of the plugin.
 Note that if [[HTMLSanitization]] is enabled, html in 
 [[PreProcessorDirective]] output is sanitised, which may limit what your
 plugin can do. Also, the rest of the page content is not in html format at
-preprocessor time.
+preprocessor time. Text output by a preprocessor directive will be passed through markdown along with the rest of the page.
 
 ## Wiki configuration