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

假装没事ソ 提交于 2019-12-19 05:19:03

问题


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


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/7905520/how-do-i-escape-the-markdown-parser-for-certain-pieces-of-text

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!