A header row is required and must be followed by a separator row with the same number of cells |
|
|
A header row is required and must be followed by a separator row with the same number of cells. Cells are separated by a pipe (`|`) symbol. |
|
|
Alignment |
|
|
Cells are separated by a pipe (`|`) symbol |
|
|
Code blocks can be highlighted using [Google Prettify]($prettifyLink$).
In many cases, the syntax highlighting language [will be inferred from the question's tags]($metaLink$). |
|
|
Code blocks can be highlighted using [highlight.js]($highlightjsLink$).
In many cases, the syntax highlighting language [will be inferred from the question's tags]($metaLink$). |
|
|
Leading and trailing pipes are optional |
|
|
Our support for tables is based on the [GitHub-flavored markdown table extension]($gitHubHelpUrl$) specification. |
|
|
Spacing and the `-` characters don’t have to line up visually |
|
|
Syntax details |
|
1
|
The following sections describe some additional features for text formatting that aren't officially part of CommonMark. |
|
1
|
To hide a certain piece of text and have it only be visible when a user clicks it, use the blockquote syntax with an additional exclamation point: |
|
1
|
You can set the alignment of a table column by including a `:` in the corresponding cell of the separator line. A `:` on the left will make a column left-aligned (this is the default). A `:` on the right will make it right-aligned. Both left and right `:`s will produce a center-aligned column. |
|
|
You can use either [one of the supported language codes]($supportedLanguagesLink$),
like `$cpp$` or `$sql$`, or you can specify a tag, and the syntax
highlighting language associated with this tag will be used. |
|
|