diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-12-04 03:42:39 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-12-04 03:42:39 +0700 |
| commit | 83ff35e591f0e7c23b6315fb8b6b836e1bcfb803 (patch) | |
| tree | 499d5592452fc8ddb8b66adaad41d898027811ea /testdata/test.adoc | |
| parent | 0c1fa764757682dd2ae27ad24ca7f0b6e99c7494 (diff) | |
| download | asciidoctor-go-83ff35e591f0e7c23b6315fb8b6b836e1bcfb803.tar.xz | |
all: support setting table width and with autowidth option
Diffstat (limited to 'testdata/test.adoc')
| -rw-r--r-- | testdata/test.adoc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc index 8e9c0f3..96aeff2 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -657,6 +657,40 @@ Cell spanning three columns, |A1 |B1 |=== +=== Table width + +[width=75%] +|=== +|A1|B1 + +|A2|B2 +|=== + +Table with autowidth, + +[%autowidth] +|=== +|auto|width + +|Cell in column 1, row 2 +|Cell in column 2, row 2 +|Cell in column 3, row 2 +|=== + +[%autowidth.stretch] +|=== +|Name of Column 1 |Name of Column 2 |Name of Column 3 + +|Cell in column 1, row 1 +|Cell in column 2, row 1 +|Cell in column 3, row 1 +|=== + +[cols="25h,~,~"] +|=== +|small |as big as the column needs to be |the rest +|=== + == Horizontal rules |
