From: Joel U. <uck...@no...> - 2005-10-12 11:52:05
|
It was suggested to me (by John Kershaw) that it would be useful to allow users to apply class and id attributes to the markup when editing pages. Something like {{foo #bar: Here is some text of class foo with id bar.}} would give you a span <span class="foo" id="bar">Here is some text of class foo with id bar.</span> where the classes and ids could be defined by the site maintainer in css as part of the theme, or for even more neato points, the css could be pulled from a page in the wiki so that the users could define it themselves. Mr. Kersahw has already hacked a very old version (1.3.0) to do something like this. Questions: 1. Do we want to extend the markup syntax to permit this? 2. If so, how should it be handled? As part of the basic syntax? As part of a plugin? Thoughts? -- J. |