有什么办法可以注释掉纺织中的文本吗?

发布于 2024-11-06 17:56:10 字数 110 浏览 0 评论 0原文

LaTeX 有 %,html 有 <\!-- 表示后面有注释。

纺织品有注释文本的功能吗?我找不到一个,但看起来这将是一个很好的功能。

LaTeX has %, html has <\!-- to denote that a comment folows.

Does textile have anyway of commenting out text? I couldn't find one, and it seems like it would be a nice feature to have.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

缱绻入梦 2024-11-13 17:56:10

并不真地。看来您可以执行包含传递的 HTML 注释的单行 HTML 转义序列。但您可能想要一些更像 C 预处理器注释的东西,只是完全删除?

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

或者你可以这样做,它输出多行 html 注释,但我怀疑这是否是你想要的:

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

Not really. It seems you can do a single line HTML escape sequence containing an HTML comment which is passed through. But you probably want something more like the C Preprocessor comments that are simply stripped out completely?

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

Or you could do this, which outputs a multiline html comment, but I doubt it's what you want either:

notextile.  <!-- test 
test
test
-->
帅的被狗咬 2024-11-13 17:56:10

Textile 的 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.

目前,RedClothMylyn 实现不支持这些注释。

The TextPattern version of Textile does support comments.

The syntax is to have a line beginning with three hashes and one or two full stops.

###. 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.

Currently, the RedCloth and Mylyn implementations of Textile do not support these comments.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文