Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 docs: Added table shortcode in Elements page #96

Merged
merged 1 commit into from
Apr 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions exampleSite/content/installation/elements/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,23 +170,31 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well.

##### Tables

Colons can be used to align columns.
To make a table, create each column's header with three or more hyphens (---), and separate each column with pipes (|).

{{<table "table">}}

| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |

There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.
{{</table>}}

You can align text in the columns to the left, right, or center by adding a colon (:) to the left, right, or on both side of the hyphens within the header row.

{{<table "table">}}

Markdown | Less | Pretty
--- | --- | ---
*Still* | `renders` | **nicely**
1 | 2 | 3

{{</table>}}

To automatically generate the table by simply assigning values to the cells, use the [Markdown Table Generator Tool](https://www.tablesgenerator.com/markdown_tables).

<hr>

##### Image
Expand Down
16 changes: 12 additions & 4 deletions exampleSite/content/installation/elements/_index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,23 +171,31 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well.

##### Tables

Colons can be used to align columns.
To make a table, create each column's header with three or more hyphens (---), and separate each column with pipes (|).

{{<table "table">}}

| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |

There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.
{{</table>}}

You can align text in the columns to the left, right, or center by adding a colon (:) to the left, right, or on both side of the hyphens within the header row.

{{<table "table">}}

Markdown | Less | Pretty
--- | --- | ---
*Still* | `renders` | **nicely**
1 | 2 | 3

{{</table>}}

To automatically generate the table by simply assigning values to the cells, use the [Markdown Table Generator Tool](https://www.tablesgenerator.com/markdown_tables).

<hr>

##### Image
Expand Down