aboutsummaryrefslogtreecommitdiff
path: root/testdata/test.adoc
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-11-16 03:14:22 +0700
committerShulhan <m.shulhan@gmail.com>2020-11-16 03:14:32 +0700
commit4f24d95fa5cb8c7db3e4d123460f83fa2b489cdf (patch)
tree06d22a2982e1a15732ebd7740dfcc157de9aa3da /testdata/test.adoc
parent18f26d69d3ac10445420f6a7cf2a1ac5111786ff (diff)
downloadasciidoctor-go-4f24d95fa5cb8c7db3e4d123460f83fa2b489cdf.tar.xz
all: support forcing line break by ending the line with " +\n"
Diffstat (limited to 'testdata/test.adoc')
-rw-r--r--testdata/test.adoc24
1 files changed, 24 insertions, 0 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc
index a8097d0..c5689e9 100644
--- a/testdata/test.adoc
+++ b/testdata/test.adoc
@@ -119,6 +119,30 @@ A paragraph followed by literal named
[literal]
This is literal
+=== Alignment
+
+[.text-left]
+This text is left aligned.
+
+[.text-right]
+This text is right aligned.
+
+[.text-center]
+This text is center aligned.
+
+[.text-justify]
+This text is justify aligned.
+
+=== Line break
+
+Rubies are red, +
+Topazes are blue.
+
+* is this +
+line break
+* too +
+* or not
+
== Unconstrained text formatting