summaryrefslogtreecommitdiffstats
path: root/docbook/asciidoctor-macros/commaize-block/sample.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docbook/asciidoctor-macros/commaize-block/sample.adoc')
-rw-r--r--docbook/asciidoctor-macros/commaize-block/sample.adoc31
1 files changed, 31 insertions, 0 deletions
diff --git a/docbook/asciidoctor-macros/commaize-block/sample.adoc b/docbook/asciidoctor-macros/commaize-block/sample.adoc
new file mode 100644
index 00000000..9cb2e1ec
--- /dev/null
+++ b/docbook/asciidoctor-macros/commaize-block/sample.adoc
@@ -0,0 +1,31 @@
+= Sorted, delimited, empty lines
+
+[commaize]
+--
+One
+two
+
+red
+
+blue
+Fish
+--
+
+= Unsorted
+
+[commaize, sort=false]
+One
+two
+red
+blue
+Fish
+
+= Two elements
+
+[commaize]
+One
+Two
+
+= One element
+[commaize]
+Just the one