在Redmine wiki页面中插入特殊字符
我正在使用 Redmine,并尝试在 Redmine wiki 页面的表格内插入特殊字符 |
。我不希望这个字符被解析为列分隔符。
我通过围绕该字符执行
来实现此目的,但我不想使用 |
code
标记,因为这字符将获得代码属性,即快递新字体。
是否有一个标签可以显示纯文本并避免Redmine wiki引擎的解析? 我正在阅读 redmine wiki 格式化文档,但它非常糟糕,并指出纺织格式化似乎不包括这种特殊情况。
I'm using Redmine and I'm trying to insert the special character |
inside a table in a Redmine wiki page. I don't want this character to be parsed as a column separator.
I've achieved this by doing a <code>|</code>
around this character, but I don't want to use the code
tag, since this character will gain code attributes, namely the courier new font.
Is there a tag for displaying plain text and avoid the parsing from the Redmine wiki engine?
I'm reading the redmine wiki formatting documentation but it is very poor and points me to textile formatting which doesn't seem to include this special case.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我无法让感叹号起作用,但是这对我有用。
I could not get the exclimation point to work, but this works for me.
<notextile>|</notextile>
我发现解决这个问题的唯一方法是插入我想要隔离的字符的 HTML 代码。例如,我必须为其添加 HTML 代码:
_
示例:
这是一个
_
测试 -_
这里有文本注释_
没有下划线代码(
_
) redmine wiki 引擎会认为斜体在测试时开始,这是错误的结果:这是一个测试 - 文本注释
因此,放置下划线的 ASCII 代码可以纠正此问题。不幸的是,这种解析不是很聪明(但我希望如此)。
以下是包含许多符号和字符的 ASCII 代码表的链接:
http://www.ascii.cl/ htmlcodes.htm
The only way I found out to overcome this problem is to insert the HTML code for the character I want to isolate. For instance, instead of putting an underscore and make the wiki think I'm starting an italic word, I have to put the HTML code for it:
_
Example:
this is a
_
test -_
text comment here_
Without the underscore code (
_
) redmine wiki engine will think that italic starts at test and this is the wrong result:this is a test - text comment here
So, putting the ASCII code for the underscore corrects this problem. Unfortunately, this parsing is not very clever (yet I hope).
Here is a link for an ASCII code table with many symbols and characters:
http://www.ascii.cl/htmlcodes.htm