aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorhttps://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>2016-05-31 14:00:45 -0400
committeradmin <admin@branchable.com>2016-05-31 14:00:45 -0400
commit37420a722265549ad031fd8286db7f1a3ad2769f (patch)
tree7184c06480365ebb11a9ac5c9378dd769f98cafe /doc/plugins
parent3abcb0f797753b0e486568047c78dcf45a2923ed (diff)
downloadikiwiki-37420a722265549ad031fd8286db7f1a3ad2769f.tar
ikiwiki-37420a722265549ad031fd8286db7f1a3ad2769f.tar.gz
answer: an exec plugin?
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/contrib/bibtex2html/discussion.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/plugins/contrib/bibtex2html/discussion.mdwn b/doc/plugins/contrib/bibtex2html/discussion.mdwn
index 9191e46cf..3fad8763f 100644
--- a/doc/plugins/contrib/bibtex2html/discussion.mdwn
+++ b/doc/plugins/contrib/bibtex2html/discussion.mdwn
@@ -7,3 +7,5 @@ I do not think that the [[plugins/contrib/compile]] plugin can replace the [[plu
Right now, it is not possible for the [[plugins/contrib/compile]] plugin to render the *content* of the compiled document. This could be done by providing a `DESTCONTENT` template variable, containing the content of the compiled document. This should not be hard to implement.
-- [[Louis|spalax]] (author of [[plugins/contrib/compile]])
+
+> Interesting! I am thinking of writing a simpler plugin (maybe called "exec") that would be a merge of the two approaches. There would be an `htmlize` hook to render arbitrary page extensions (based on the configuration) into anything with predefined pipelines. Then a `preprocess` hook would allo directives to inject links to documents or simply inline them like bibtex2html does. The plugin could be secure insofar as the pipelines configured are secure as well. Should that be merged in compile or be a separate plugin? --[[anarcat]]