From c77e29b824b9b9e8f5531f0fd0b6882a267fa796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=96=B0?= Date: Thu, 6 Aug 2020 10:26:28 +0800 Subject: [PATCH] Fix markdown syntax document mistake for table content align (#2282) (#2296) --- docs/MARKDOWN_SYNTAX.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/MARKDOWN_SYNTAX.md b/docs/MARKDOWN_SYNTAX.md index 27a9f12c..de0b6527 100644 --- a/docs/MARKDOWN_SYNTAX.md +++ b/docs/MARKDOWN_SYNTAX.md @@ -465,18 +465,18 @@ Renders to: **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 | Option | Description | -| -:- | -:- | +| :-: | :-: | | 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. | | ext | extension to be used for dest files. | ``` | Option | Description | -| -:- | -:- | +| :-: | :-: | | 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. | | 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** -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 | Option | Description |