For example, <
>
should be wrapped as inline.
For example, asdf
should be wrapped as inline.
For example, <p></p>
should be wrapped as inline.
一、代码
- 内联代码:用
<code>
包裹,但是需要用<和>表示尖括号。 - 键盘输入:用
<kbd>
包裹表示键盘输入的内容。 - 多行代码:用
<pre>
包裹多行代码,同样需要对尖括号做转义处理。可以使用 .pre-scrollable 类,其作用是固定代码框大小设置 max-height 为 350px ,并在垂直方向展示滚动条 - 变量:用
<var>
表示变量 - 程序输出:
<smp>
表示程序输出
二、表格
1、基本表格:
<table>
<thead>
<tr>
<th>一</th>
<th>二</th>
<th>三</th>
<th>四</th>
</tr>
</thead>
<tbody>
<tr >
<td>内容一</td>
<td>内容二</td>
<td>内容三</td>
<td>内容四</td>
</tr>
<tr>
<td>内容一</td>
<td>内容二</td>
<td>内容三</td>
<td>内容四</td>
</tr>
</tbody>
</table>
2、示例:
一 | 二 | 三 | 四 |
---|---|---|---|
内容一 | 内容二 | 内容三 | 内容四 |
内容一 | 内容二 | 内容三 | 内容四 |
3、Bootsrap表格类
一 | 二 | 三 | 四 |
---|---|---|---|
内容一 | 内容二 | 内容三 | 内容四 |
内容一 | 内容二 | 内容三 | 内容四 |
内容一 | 内容二 | 内容三 | 内容四 |
内容一 | 内容二 | 内容三 | 内容四 |
内容一 | 内容二 | 内容三 | 内容四 |