如何对某些文本片段进行降价解析器解析? [英] How do I escape the markdown parser for certain pieces of text?

查看:98
本文介绍了如何对某些文本片段进行降价解析器解析?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用纺织品为特定页面生成HTML,并且在副本中,需要生成(c)而没有版权符号.不幸的是,纺织品总是做到这一点.

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.

纺织品中是否有一种方法可以逃避对其进行更改以进行解析(我知道我可以在"c"的两侧放置空格,但这看起来不太好)吗?

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

推荐答案

在降价促销中使用<notextile></notextile>标签将导致解析器跳过这两个标签之间的内容. RedCloth文档

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

这篇关于如何对某些文本片段进行降价解析器解析?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆