Table column alignment
tags:
table
Description/Summary
Table with 3 rows # Right Left No Center Long Content To Spread Out the Width Alignment Of the Table To See Alignment Right Left Marker Center Table with 2 rows # Left Default Center Right 1 2 3 4 Table with 1 row # A table with just 1 row with alignment markers is as good as just that row without the alignment markers. But hey, a test is a test.
Content
Table with 3 rows
#
| Right |
Left |
No |
Center |
| Long Content To |
Spread Out the Width |
Alignment |
Of the Table To See Alignment |
| Right |
Left |
Marker |
Center |
Table with 2 rows
#
| Left |
Default |
Center |
Right |
| 1 |
2 |
3 |
4 |
Table with 1 row
#
A table with just 1 row with alignment markers is as good as just
that row without the alignment markers. But hey, a test is a test.
|
|
|
|
| Left |
Default |
Center |
Right |
Table with 0 rows!
#
A table with zero rows, with just alignment markers, doesn’t make
sense. But hey, a test is a test.
You should see no table exported above.
Page (Debug)
| Page Variable | Value |
| Name |
"Table column alignment"
|
| Title |
"Table column alignment"
|
| ResourceType |
"page"
|
| Kind |
"page"
|
| Section |
"posts"
|
| Draft |
false
|
| Type |
"posts"
|
| Layout |
""
|
| Permalink |
"https://ox-hugo.scripter.co/test/posts/table-column-alignment/"
|
| RelPermalink |
"/posts/table-column-alignment/"
|
| Data |
| page.Data{} (type:page.Data) |
|
| NextPage | Table caption |
| PrevPage | Table name |
| NextInSection | Table caption |
| PrevInSection | Table name |
Page Params (Debug)
| Key | Type | Value |
| draft | bool |
false
|
| iscjklanguage | bool |
false
|
| lastmod | time.Time |
2017-11-08 00:29:01 -0500 -0500
|
| tags | []string |
"table"
|
| title | string |
"Table column alignment"
|
File Object (Debug)
| FileInfo Variable | Value |
| UniqueID |
"8e188c967272f9f27a7602ae383030fa"
|
| BaseFileName |
"table-column-alignment"
|
| TranslationBaseName |
"table-column-alignment"
|
| Lang |
"en"
|
| Section |
"posts"
|
| LogicalName |
"table-column-alignment.md"
|
| Dir |
"posts/"
|
| Ext |
"md"
|
| Path |
"posts/table-column-alignment.md"
|