diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-14 13:42:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-14 13:42:57 -0400 |
commit | 5acfbb50aab538ac43bccb55ba2427cbffa26f0d (patch) | |
tree | fd09b8aeeb25c1f6efa375e2f1106d55c00d1710 /doc/todo/color_plugin.mdwn | |
parent | 9957c7fd5d17afdc2e7e4248ca8a961731048d51 (diff) | |
parent | f8de860a44eabe5f954641d48d0bdf2e804519d7 (diff) |
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/todo/color_plugin.mdwn')
-rw-r--r-- | doc/todo/color_plugin.mdwn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/color_plugin.mdwn b/doc/todo/color_plugin.mdwn new file mode 100644 index 000000000..f8fd11091 --- /dev/null +++ b/doc/todo/color_plugin.mdwn @@ -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 +<span class="color">foo bar baz</span>. + +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]] |