入门指南
语法速查表
基本语法
标题语法
段落语法
换行语法
强调语法
引用语法
列表语法
代码语法
分隔线语法
链接语法
图片语法
转义字符语法
内嵌 HTML 标签
扩展语法
扩展语法可用性
表格
围栏代码块
脚注
标题编号
定义列表
删除线
任务列表语法
使用 Emoji 表情
Highlight
Subscript
自动网址链接
禁止自动将 URL 转换为链接
Hacks
Underline
Indent (Tab)
Center
Color
Comments
Admonitions
Image Size
Image Captions
Link Targets
Symbols
Table Formatting
Table of Contents
Videos
书写工具
Comments - markdown入门指南 - 笔下光年
网站首页
Comments
Some people need the ability to write sentences in their Markdown files that <em>will not</em> appear in the rendered output. These comments are essentially hidden text. The text is viewable by the author of the document, but it’s not printed on the webpage or PDF. Markdown doesn’t natively support comments, but several enterprising individuals have devised a solution. To add a comment, place text inside brackets followed by a colon, a space, and a pound sign (e.g., <code>[comment]: #</code>). You should put blank lines before and after a comment. ```markdown Here's a paragraph that will be visible. [This is a comment that will be hidden.]: # And here's another paragraph that's visible. ``` <p>The rendered output looks like this:</p> Here's a paragraph that will be visible. [This is a comment that will be hidden.]: # And here's another paragraph that's visible.
上一篇:
Color
下一篇:
Admonitions