创建表� �
您可以用竖线 |
和横线 -
创建表� �。 横线用于创建每列的� �题,而竖线用于分隔每列。 必须在表� �前包含空白链接,以便其正确呈现。
| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
表� �末尾的竖线可选。
单元� �的宽度可以不同,� 需在列内准确对齐。 � �题行的第一列中必须至少有三个横线。
| Command | Description |
| --- | --- |
| git status | List all new or modified files |
| git diff | Show file differences that haven't been staged |
� �式化表� �中的内容
您可以在表� �中使用� �式,如链接、内联代� �块和文本� �式:
| Command | Description |
| --- | --- |
| `git status` | List all *new or modified* files |
| `git diff` | Show file differences that **haven't been** staged |
您可以在� �头行中横线的左侧、右侧或两侧� 入冒号 :
,� 左、� 右或居中对齐列中的文本。
| Left-aligned | Center-aligned | Right-aligned |
| :--- | :---: | ---: |
| git status | git status | git status |
| git diff | git diff | git diff |
要包含竖线 |
作为单元� �中的内容,请在竖线前使用 \
:
| Name | Character |
| --- | --- |
| Backtick | ` |
| Pipe | \| |