Fix markdown syntax document mistake for table content align (#2282) (#2296)

This commit is contained in:
小新 2020-08-06 10:26:28 +08:00 committed by GitHub
parent e654b7624b
commit c77e29b824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,18 +465,18 @@ Renders to:
**Center text in a column** **Center text in a column**
To center the text in a column, add a colon to the middle of the dashes in the row beneath the header. To center the text in a column, add a colon to the left and right of the dashes in the row beneath the header.
```markdown ```markdown
| Option | Description | | Option | Description |
| -:- | -:- | | :-: | :-: |
| data | path to data files to supply the data that will be passed into templates. | | data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. | | engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. | | ext | extension to be used for dest files. |
``` ```
| Option | Description | | Option | Description |
| -:- | -:- | | :-: | :-: |
| data | path to data files to supply the data that will be passed into templates. | | data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. | | engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. | | ext | extension to be used for dest files. |
@ -484,7 +484,7 @@ To center the text in a column, add a colon to the middle of the dashes in the r
**Right-align the text in a column** **Right-align the text in a column**
To right-align the text in a column, add a colon to the middle of the dashes in the row beneath the header. To right-align the text in a column, add a colon to the right of the dashes in the row beneath the header.
```markdown ```markdown
| Option | Description | | Option | Description |