]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://ptecza.myopenid.com/: * Request for color plugin
authorJoey Hess <joey@kitenet.net>
Mon, 14 Jul 2008 15:29:19 +0000 (11:29 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 14 Jul 2008 15:29:19 +0000 (11:29 -0400)
doc/todo/color_plugin.mdwn [new file with mode: 0644]

diff --git a/doc/todo/color_plugin.mdwn b/doc/todo/color_plugin.mdwn
new file mode 100644 (file)
index 0000000..f8fd110
--- /dev/null
@@ -0,0 +1,16 @@
+Recently I've wanted to colour some piece of text on my Ikiwiki page.
+It seems that Markdown can do it only using HTML tags, so I used
+&lt;span class="color"&gt;foo bar baz&lt;/span&gt;.
+
+However, in my opinion mixing Markdown syntax and HTML tags is rather ugly,
+so maybe we should create a new color plugin to add more color to Ikiwiki ;)
+I know that another Wikis have similar plugin, for example
+[WikiDot](http://www.wikidot.com/).
+
+I've noticed that htmlscrubber plugin strips `style` attribute, because of
+security, so probably we need to use `class` attribute of HTML. But then
+we have to customize our `local.css` file to add all color we want to use.
+It's not as easy in usage like color name or definition as plugin argument,
+but I don't have a better idea right now.
+
+What do you think about it? --[[PaweÅ‚|ptecza]]