Sha256: 65d20b394ac9316d4a95b34a75b8913013956edeaa38865eeb7271a69d684dcf

Contents?: true

Size: 1.03 KB

Versions: 21

Compression:

Stored size: 1.03 KB

Contents

:data-uri:

== Asciidoc(tor) Reference

- http://www.methods.co.nz/asciidoc/chunked/ch23.html[Asciidoc Table]
- http://asciidoctor.org/docs/user-manual/#tables[Table]
- http://asciidoctor.org/docs/user-manual/#column-specifiers[Columns alignments]

== Table with 2 columns left aligned with header
[cols="2*<", options="header"]
.Table Title
|===
| Column 1 | Column 2
| Text 1 | Text 1
| Text 2 | Text 2
| Text 3 | Text 3
|===

Remarks :

- Columns can be aligned to the top +++(<)+++, middle +++(^)+++, or bottom +++(>)+++
- To vertically align the content to the middle of the cells in all of the columns, add a . and then the ^ operator after the multiplier : +++[cols="2*.<"]+++

== Table with colored header
[cols="2*<", options="header"]
.Table Title
|===
| Column 1 {set:cellbgcolor:red} | Column 2 {set:cellbgcolor:red}
| Text 1 {set:cellbgcolor:white} | Text 1
| Text 2 {set:cellbgcolor:grey}  | Text 2
| Text 3 {set:cellbgcolor:white} | Text 3
|===

Remark:

- should be better to define colors using css instead of +++{set:cellbgcolor:red}+++

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.9 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.9.pre.3 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.9.pre.2 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.9.pre.1 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.8 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.9 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.8 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.7 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.6 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.5 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.3 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.2 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.7.pre.1 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.6 lib/templates/sample/asciidoc_table.ad
hyla-1.0.5 lib/templates/sample/asciidoc_table.ad
hyla-1.0.5.pre.1 lib/templates/sample/asciidoc_table.ad
hyla-1.0.4 lib/templates/sample/asciidoc_table.ad
hyla-1.0.3 lib/templates/sample/asciidoc_table.adoc
hyla-1.0.2 lib/templates/sample/asciidoc_table.adoc