有没有办法在纺织品中评论文字?

时间:2011-05-13 17:11:24

标签: markup textile commenting

LaTeX有%,html有<! -

纺织品是否还有评论文字?我找不到一个,这似乎是一个很好的功能。

2 个答案:

答案 0 :(得分:5)

不是真的。看来你可以做一个包含HTML注释的单行HTML转义序列。但是你可能想要更像C预处理器注释的东西,这些注释完全被剥离了?

==<!-- html comment -->==

或者你可以这样做,它输出一个多行html评论,但我怀疑它是你想要的:

notextile.  <!-- test 
test
test
-->

答案 1 :(得分:0)

Textile does support comments的TextPattern版本。

语法是让一行以三个哈希开头,一个或两个句号。

###. This line will be treated as a comment.
So will this.

This line will be displayed.

###.. Blank lines are allowed in comments if you use two full stops.

This line is also a comment.

p. Starting a new block will end the comment.

目前,Textile的RedClothMylyn实施不支持这些评论。