aboutsummaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 05:41:07 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 05:41:07 +0000
commit9d7375c3b263e77da29a5db22af480db8b99d990 (patch)
tree8cb9407a3893060b7868d8960db3ce0759092c2e /doc/todo
parent78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5 (diff)
downloadikiwiki-9d7375c3b263e77da29a5db22af480db8b99d990.tar
ikiwiki-9d7375c3b263e77da29a5db22af480db8b99d990.tar.gz
* Allow preprocessor directives to contain python-like triple-quoted
text blocks, for easy nesting of quotes inside. * Add a template plugin. * Use the template plugin to add infoboxes to each plugin page listing basic info about the plugin.
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/infoboxes.mdwn50
1 files changed, 0 insertions, 50 deletions
diff --git a/doc/todo/infoboxes.mdwn b/doc/todo/infoboxes.mdwn
deleted file mode 100644
index 293cd66b8..000000000
--- a/doc/todo/infoboxes.mdwn
+++ /dev/null
@@ -1,50 +0,0 @@
-# thoughts on infoboxes
-
-I was thinking about adding a [[preprocessordirective]] to make it easy to
-add an info box. Something like:
-
- \[[infobox "text here"]]
-
-But it seems it would be better if multi-line text could be put inside,
-maybe expanding the syntax a bit:
-
- \[[infobox "
- text here
- and here
- etc.
- "]]
-
-This would just wrap the text up in a span element that was styled to float
-to the right, with a border, the way info boxes do on some wikis.
-
-However, as I thought about it some more, I realized that this would be
-just as easy to type:
-
- <span id=infobox>
- text here
- </span>
-
-Why invent new syntax, after all? I see no reason to for something this
-simple.
-
-However, maybe in the more complex case, this would be useful. If the
-infobox filled in a kind of template:
-
- \[[infobox type=person name="Joey Hess" email=joey@kitenet.net url="http://kitenet.net/~joey/" description="
- Joey is the author of ikiwiki and some other stuff. *Yay*!
- "]]
-
-That might be a lot more useful. Or here's one to use to describe ikiwiki's
-own plugins:
-
- \[[infobox type=plugin name="sidebar" author="Tuomo Valkonen" core=no]]
-
-This would expand by filling out the template page, which would be
-infobox/person or infobox/plugin, or whatever, and would have some syntax
-(possibly HTML::Template, if it's secure) for testing for values and
-embedding variables. Of course it would register a dependency on its
-template so changes to the template update all the pages.
-
-(Since it's a preprocessor directive, the big multiline blocks of text can
-mix markdown (or whatever) with html, wikilinks, etc, in a natural way,
-which is nice..)