]> oss.titaniummirror.com Git - webber.git/blobdiff - in/hooks.md
doc hooks: added change to page header
[webber.git] / in / hooks.md
index bcf86c0127e89c0d18c2a2d733010d04cad859db..220c789cc1a955871bc4618df6d272b5fca227f5 100644 (file)
@@ -1,6 +1,7 @@
 title: Hooks
 parent: Webber
-ctime: 2009-06-26
+ctime: 2009-06-24
+change: changed behavior of linkify hook
 
 = At Startup =
 
@@ -145,8 +146,12 @@ The first hook that returns HTML, no other hooks will be called.
 
 == linkify ==
 
-This hook should contain any link to html. Implemented by the plugin
-[[link]].
+Functions that are called by this hook receive a pre-rendered HTML page.
+They can now modify this HTML further, e.g. py converting links to HTML.
+
+They can directly modify params.file.contents and don't need to return anything.
+
+Implemented by the plugin [[link]] and [[toc]].
 
 * "`params.direc`" contains a "`class Directory`" object
 * "`params.file`" has a "`class File`" object