]> oss.titaniummirror.com Git - webber.git/blobdiff - in/hooks.md
toc.py: now we can generate a table-of-contents
[webber.git] / in / hooks.md
index fd888dd078efb65de495e7f0a43882e06198b77b..c30a2588f61d9bf23e62cced630191843bb995cd 100644 (file)
@@ -145,8 +145,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