Textile markup in redmine: bold and italic in a single string -- and escaping!
Added by Friedrich Schiller over 10 years ago
Hi,
is there any better way of achieving the following markup output??
normalbolditalicboldmono
normal
I'm using the following markup currently:
A1
normal<notextile></notextile>*bold*<notextile></notextile>_italic_<notextile></notextile>*@boldmono@*<notextile></notextile>normal
identical with
A2
normal<notextile></notextile>*bold*<notextile></notextile>_italic_<notextile></notextile>*@boldmono@*<notextile></notextile>normal
identical with
A3
normal<notextile></notextile>*bold*<notextile></notextile>_italic_<notextile></notextile>*@boldmono@*<notextile></notextile>normal
(Basically <notextile></notextile>
is used, to divide up the single string into the necessary parts.)
Thanks.
PS: for people interested in escaping: You may be interested to know that the markup used to generate
A1 above, is:
<notextile> <pre> normal<notextile></notextile>*bold*<notextile></notextile>_italic_<notextile></notextile>*@boldmono@*<notextile></notextile>normal </pre> </notextile>(note that
pre
-tags are surrounded by notextile
-tags!)
and the markup used to generate
A2 above, is:
@normal<notextile></notextile>*bold*<notextile></notextile>_italic_<notextile></notextile>*@boldmono@*<notextile></notextile>normal@
and the markup used to generate
A3 above, is:
<code>
<notextile>
normal<notextile></notextile>*bold*<notextile></notextile>_italic_<notextile></notextile>*@boldmono@*<notextile></notextile>normal
</notextile>
</code>