How do I escape the markdown parser for certain pieces of text?
Frage
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)?
Lösung
Using the <notextile></notextile>
tags in the markdown will cause the parser to skip whatever is between those two tags. RedCloth docs
Andere Tipps
Also using (c)
will yield (c) rather than ©.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow