Hi Wolfgang,
You can change (not subclass) the Creole10 class to add new inline
mark-up without to much trouble. Follow the pattern for subscript,
superscript, etc. See lines 120 - 131 here:
http://code.google.com/p/creoleparser/source/browse/trunk/creoleparser/dialects.py?spec=svn69&r=69
Replacing these lines with the following should work (untested):
if use_additions:
self.sub = InlineElement('sub', ',,',[])
self.sup = InlineElement('sup', '^^',[self.sub])
self.u = InlineElement('u', '__',[self.sup, self.sub])
self.tt = InlineElement('tt', '##',[self.u, self.sup,
self.sub])
self.strike = InlineElement('del', '--',[
self.tt,self.u,
self.sup, self.sub])
self.em.child_tags.extend([self.strike,
self.tt, self.u,
self.sup, self.sub])
self.strong.child_tags.extend([self.strike,
self.tt,
self.u, self.sup, self.sub])
link_child_tags.extend([self.strike,
self.tt, self.u,
self.sup, self.sub])
inline_elements[0] =
(self.no_wiki,self.bodiedmacro,self.macro)
inline_elements.extend([self.strike,
self.tt, self.u,
self.sup, self.sub])
table_cell_children.extend([self.strike,
self.tt, self.u,
self.sup, self.sub])