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

3

15

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)?

Topsyturvy answered 26/10, 2011 at 16:8 Comment(0)
T
14

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

Topsyturvy answered 31/10, 2011 at 14:14 Comment(3)
== works in Basecamp's editor, but <notextile></notextile> does not.Caespitose
This didn't work for me. (I'm using a markdown plugin for Atom text editor--probably the problem is that the plugin doesn't support this.)Photomap
@6005 for markdown you can use \* for printing *Hypogynous
C
14

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

Classic answered 21/5, 2013 at 7:22 Comment(0)
L
0

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^.

Linguiform answered 17/8, 2023 at 6:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.