Question
How do you change the formatting in the middle of a word. For example, this is how I would do it with HTML:
"be sure to <b>un</b>check the delete option"
"be sure to
uncheck the delete option"
But doing this in wiki syntax leads to:
"be sure to *un*check the delete option"
I have been unable to figure out a way to get it to do this (other than just using HTML, which I would like to avoid).
Environment
--
JasonPierce - 21 Apr 2005
Answer
You can't avoid HTML here. Your solution with
bold is perfectly valid. Just assure your formattings are done in proper XHTML.
Is there a Wiki Meta-Language out there that provides these kinds of inline formattings? I don't think so. Maybe we should provide an inline formatting example on
TextFormattingRules cause this is a much too frequently asked question.
--
FranzJosefSilli - 21 Apr 2005
What you
can do, is define your own
TWikiVariables in e.g.
TWikiPreferences or
WebPreferences, enabling you to write e.g. %STARTBOLD%un%ENDBOLD%check.
You'd have to de a * Set STARTBOLD = <b> or the like in the preferences. I can't think of any real reason to do this, but at least this would allow you make a clean shift to <em> or advanced css stuff if you decide to do so, one day
--
SteffenPoulsen - 21 Apr 2005
Thanks, but this is really a question for my users. Personally, I'd just bold the whole word and be done with it. But I'm converting documents right now and want to preserve the formatting as much as possible.
These users wouldn't be too keen on the variable workaround, so I'll just tell them they can only bold whole words. Such is life.
Thanks for the response.
--
JasonPierce - 21 Apr 2005