How do I escape the markdown parser for certain pieces of text?

7.4k Views Asked by At

I'm using textile to generate HTML for a specific page and in the copy, there is a need for (c) to be generated without the copyright symbol. Unfortunately, textile always does it.

Is there a way in textile to escape the parsing it does to change it (I know I could put spaces on either side of the "c," but that doesn't look nice)?

3

There are 3 best solutions below

3
On BEST ANSWER

Using the <notextile></notextile> tags in the markdown will cause the parser to skip whatever is between those two tags. RedCloth docs

0
On

Also using &#40;c) will yield (c) rather than ©.

0
On

for textile:I attempted various formatting options such as == ^2^ ==, <notextile> ^2^</notextile>, notextile., notextile.., and @ ^2^ @, but none of them produced the desired result. Finally, I found that using \^2\^ correctly outputs ^2^.