Instiki/Redcloth Escaping

I need to use * in my wiki, set to use Textile. How can I escape it, so it's not considered the start of a bold sequence? Thanks.

James Edward Gray II

James Edward Gray II <james@grayproductions.net> [2005-05-11 04:06]:

I need to use * in my wiki, set to use Textile. How can I escape it, so it's
not considered the start of a bold sequence? Thanks.

<notextile>* foo</notextile>

Had a hard time finding this myself :slight_smile:

Regards,
Tilman

···

--
learn to quote: How do I quote correctly in Usenet?

Perfect. Thank you.

James Edward Gray II

···

On May 10, 2005, at 3:33 PM, Tilman Sauerbeck wrote:

James Edward Gray II <james@grayproductions.net> [2005-05-11 04:06]:

I need to use * in my wiki, set to use Textile. How can I escape it, so it's
not considered the start of a bold sequence? Thanks.

<notextile>* foo</notextile>

Had a hard time finding this myself :slight_smile:

Tilman Sauerbeck wrote:

James Edward Gray II <james@grayproductions.net> [2005-05-11 04:06]:

I need to use * in my wiki, set to use Textile. How can I escape

it,

so it's not considered the start of a bold sequence? Thanks.

<notextile>* foo</notextile>

<notextile> is handled by RedCloth to prevent processing of the
enclosed content. There's also the more generic <nowiki> in Instiki
that will escape all wiki transformation (like linking WikiWords).
(But note that in Instiki 0.10.1 there is a bug where the <nowiki>
cannot span multiple lines; a bug that has been fixed in svn :slight_smile:

HTH,
Assaph

Assaph Mehr wrote:

<notextile> is handled by RedCloth to prevent processing of the
enclosed content. There's also the more generic <nowiki> in Instiki
that will escape all wiki transformation (like linking WikiWords).
(But note that in Instiki 0.10.1 there is a bug where the <nowiki>
cannot span multiple lines; a bug that has been fixed in svn :slight_smile:

Quite a number of new bugs were introduced in the 0.10 version, but <nowiki/> tag was single-line since ever - not just in 0.10.1. Looks like it was unnoticed for several months :slight_smile:
Otherwise, it is a bug that has been fixed in SVN, indeed :slight_smile:

By the way, it is even documented. Here: http://instiki.org/show/WikiSyntax

···

--
Best regards,

Alexey Verkhovsky

Ruby Forum: http://ruby-forum.org (moderator)
RForum: http://rforum.andreas-s.net (co-author)
Instiki: http://instiki.org (maintainer)