入门指南
语法速查表
基本语法
标题语法
段落语法
换行语法
强调语法
引用语法
列表语法
代码语法
分隔线语法
链接语法
图片语法
转义字符语法
内嵌 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
书写工具
引用语法 - markdown入门指南 - 笔下光年
网站首页
引用语法
要创建块引用,请在段落前添加一个 <code>></code> 符号。 ```markdown > Dorothy followed her through many of the beautiful rooms in her castle. ``` 渲染效果如下所示: > Dorothy followed her through many of the beautiful rooms in her castle. ## 多个段落的块引用(Blockquotes) 块引用可以包含多个段落。为段落之间的空白行各添加一个 <code>></code> 符号。 ```markdown > Dorothy followed her through many of the beautiful rooms in her castle. > > The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood. ``` 渲染效果如下: > Dorothy followed her through many of the beautiful rooms in her castle.</p> > > The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood. ## 嵌套块引用(Nested Blockquotes) 块引用可以嵌套。在要嵌套的段落前添加一个 <code>>></code> 符号。 ```markdown > Dorothy followed her through many of the beautiful rooms in her castle. > >> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood. ``` 渲染效果如下: > Dorothy followed her through many of the beautiful rooms in her castle.</p> > >> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood. ## 带有其它元素的块引用(Blockquotes with Other Elements) 块引用可以包含其他 Markdown 格式的元素。并非所有元素都可以使用,你需要进行实验以查看哪些元素有效。 ```markdown > #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**. ``` 渲染效果如下: > #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**. ## Blockquotes Best Practices For compatibility, put blank lines before and after blockquotes. <table class="table table-bordered"><thead class="thead-light"><tr><th>✅ Do this</th><th>❌ Don't do this</th></tr></thead><tbody><tr><td><code>Try to put a blank line before...<br /><br />> This is a blockquote<br /><br />...and after a blockquote.</code></td><td><code class="highlighter-rouge">Without blank lines, this might not look right.<br />> This is a blockquote<br />Don't do this!</code></td></tr></tbody></table>
上一篇:
强调语法
下一篇:
列表语法