有什么办法可以注释掉纺织中的文本吗?
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
并不真地。看来您可以执行包含传递的 HTML 注释的单行 HTML 转义序列。但您可能想要一些更像 C 预处理器注释的东西,只是完全删除?
或者你可以这样做,它输出多行 html 注释,但我怀疑这是否是你想要的:
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?
Or you could do this, which outputs a multiline html comment, but I doubt it's what you want either:
Textile 的 TextPattern 版本支持注释。
语法是一行以三个散列和一个或两个句号开头。
目前,RedCloth 和 Mylyn 实现不支持这些注释。
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.
Currently, the RedCloth and Mylyn implementations of Textile do not support these comments.