summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
commit6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 (patch)
treee6edc639916f43b52d2efb638f3621e9b9f65207 /regress/mdoc/Bl
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Bl')
-rw-r--r--regress/mdoc/Bl/Makefile5
-rw-r--r--regress/mdoc/Bl/bareIt.out_markdown15
-rw-r--r--regress/mdoc/Bl/bareTa.out_markdown24
-rw-r--r--regress/mdoc/Bl/breakingTa.out_markdown15
-rw-r--r--regress/mdoc/Bl/bullet.out_markdown46
-rw-r--r--regress/mdoc/Bl/dash.out_markdown46
-rw-r--r--regress/mdoc/Bl/diag.out_markdown45
-rw-r--r--regress/mdoc/Bl/empty.out_markdown33
-rw-r--r--regress/mdoc/Bl/emptyitem.out_markdown41
-rw-r--r--regress/mdoc/Bl/enum.out_markdown46
-rw-r--r--regress/mdoc/Bl/item.out_markdown19
-rw-r--r--regress/mdoc/Bl/multitype.out_markdown11
-rw-r--r--regress/mdoc/Bl/notype.out_markdown23
-rw-r--r--regress/mdoc/Bl/ohang.out_markdown25
-rw-r--r--regress/mdoc/Bl/unclosed.out_markdown15
15 files changed, 409 insertions, 0 deletions
diff --git a/regress/mdoc/Bl/Makefile b/regress/mdoc/Bl/Makefile
index c8c9b3c9..bec6cdef 100644
--- a/regress/mdoc/Bl/Makefile
+++ b/regress/mdoc/Bl/Makefile
@@ -13,6 +13,11 @@ LINT_TARGETS = column notype badargs tag
LINT_TARGETS += empty noIt emptyhead emptytag emptyitem
LINT_TARGETS += bareIt bareTa break breakingIt broken
+MARKDOWN_TARGETS = item diag ohang bullet dash enum
+MARKDOWN_TARGETS += notype multitype
+MARKDOWN_TARGETS += empty emptyitem
+MARKDOWN_TARGETS += bareIt bareTa unclosed breakingTa
+
# groff-mandoc differences:
# - groff allows enclosures to span Ta, mandoc does not
diff --git a/regress/mdoc/Bl/bareIt.out_markdown b/regress/mdoc/Bl/bareIt.out_markdown
new file mode 100644
index 00000000..f1280770
--- /dev/null
+++ b/regress/mdoc/Bl/bareIt.out_markdown
@@ -0,0 +1,15 @@
+BL-BAREIT(1) - General Commands Manual
+
+# NAME
+
+**Bl-bareIt** - item macro outside list
+
+# DESCRIPTION
+
+initial text
+
+- item
+
+final text
+
+OpenBSD - August 16, 2014
diff --git a/regress/mdoc/Bl/bareTa.out_markdown b/regress/mdoc/Bl/bareTa.out_markdown
new file mode 100644
index 00000000..d2dd7129
--- /dev/null
+++ b/regress/mdoc/Bl/bareTa.out_markdown
@@ -0,0 +1,24 @@
+TA-BARE(1) - General Commands Manual
+
+# NAME
+
+**Ta-bare** - bare tabular column macro
+
+# DESCRIPTION
+
+initial text
+middle text
+
+indented text
+
+middle text
+
+- indented text
+
+middle text
+
+ a b
+
+final text
+
+OpenBSD - November 12, 2012
diff --git a/regress/mdoc/Bl/breakingTa.out_markdown b/regress/mdoc/Bl/breakingTa.out_markdown
new file mode 100644
index 00000000..64cdc72d
--- /dev/null
+++ b/regress/mdoc/Bl/breakingTa.out_markdown
@@ -0,0 +1,15 @@
+BL-BREAKINGTA(1) - General Commands Manual
+
+# NAME
+
+**Bl-breakingTa** - tab macro breaking a block
+
+# DESCRIPTION
+
+initial text
+
+ it <aq> ta [bo bc] (pq)
+
+final text
+
+OpenBSD - February 11, 2017
diff --git a/regress/mdoc/Bl/bullet.out_markdown b/regress/mdoc/Bl/bullet.out_markdown
new file mode 100644
index 00000000..25febb9b
--- /dev/null
+++ b/regress/mdoc/Bl/bullet.out_markdown
@@ -0,0 +1,46 @@
+BL-BULLET(1) - General Commands Manual
+
+# NAME
+
+**Bl-bullet** - bullet lists
+
+# DESCRIPTION
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+* x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+OpenBSD - December 25, 2014
diff --git a/regress/mdoc/Bl/dash.out_markdown b/regress/mdoc/Bl/dash.out_markdown
new file mode 100644
index 00000000..f478e4aa
--- /dev/null
+++ b/regress/mdoc/Bl/dash.out_markdown
@@ -0,0 +1,46 @@
+BL-DASH(1) - General Commands Manual
+
+# NAME
+
+**Bl-dash** - dash and hyphen lists
+
+# DESCRIPTION
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+- x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+OpenBSD - December 25, 2014
diff --git a/regress/mdoc/Bl/diag.out_markdown b/regress/mdoc/Bl/diag.out_markdown
new file mode 100644
index 00000000..dbde3cfe
--- /dev/null
+++ b/regress/mdoc/Bl/diag.out_markdown
@@ -0,0 +1,45 @@
+BL-DIAG(1) - General Commands Manual
+
+# NAME
+
+**Bl-diag** - section 4 diagnostic lists
+
+# DESCRIPTION
+
+tag
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+four
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+quint
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+indent
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+septime
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+achtacht
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+neun\_neun
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+zehn\_\_zehn
+x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+This is a very long text contained in the diag item head, it is so long that it overruns the line -
+and here comes the item body.
+
+Check that It is not parsed in Bl:
+
+Nx
+NetBSD
+Ox
+OpenBSD
+Fx
+FreeBSD
+
+OpenBSD - April 8, 2014
diff --git a/regress/mdoc/Bl/empty.out_markdown b/regress/mdoc/Bl/empty.out_markdown
new file mode 100644
index 00000000..048f61a0
--- /dev/null
+++ b/regress/mdoc/Bl/empty.out_markdown
@@ -0,0 +1,33 @@
+BL-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Bl-empty** - empty lists
+
+# DESCRIPTION
+
+bullet list:
+
+column list:
+
+dash list:
+
+diag list:
+
+enum list:
+
+hang list:
+
+hyphen list:
+
+inset list:
+
+item list:
+
+ohang list:
+
+tag list:
+
+end of test document
+
+OpenBSD - January 2, 2011
diff --git a/regress/mdoc/Bl/emptyitem.out_markdown b/regress/mdoc/Bl/emptyitem.out_markdown
new file mode 100644
index 00000000..b61ef858
--- /dev/null
+++ b/regress/mdoc/Bl/emptyitem.out_markdown
@@ -0,0 +1,41 @@
+BL-EMPTYITEM(1) - General Commands Manual
+
+# NAME
+
+**Bl-emptyitem** - lists with fixed heads and empty items
+
+# DESCRIPTION
+
+bullet list:
+
+* one
+
+*
+
+* three
+
+dash list:
+
+- one
+
+-
+
+- three
+
+enum list:
+
+1. one
+
+2.
+
+3. three
+
+hyphen list:
+
+- one
+
+-
+
+- three
+
+OpenBSD - August 10, 2016
diff --git a/regress/mdoc/Bl/enum.out_markdown b/regress/mdoc/Bl/enum.out_markdown
new file mode 100644
index 00000000..0c15d67a
--- /dev/null
+++ b/regress/mdoc/Bl/enum.out_markdown
@@ -0,0 +1,46 @@
+BL-ENUM(1) - General Commands Manual
+
+# NAME
+
+**Bl-enum** - enumerated lists
+
+# DESCRIPTION
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+1. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+2. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+3. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+4. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+5. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+6. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+7. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+8. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+9. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+10. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+11. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+12. x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
+
+OpenBSD - December 25, 2014
diff --git a/regress/mdoc/Bl/item.out_markdown b/regress/mdoc/Bl/item.out_markdown
new file mode 100644
index 00000000..cfceb8d5
--- /dev/null
+++ b/regress/mdoc/Bl/item.out_markdown
@@ -0,0 +1,19 @@
+BL-ITEM(1) - General Commands Manual
+
+# NAME
+
+**Bl-item** - itemized lists
+
+# DESCRIPTION
+
+first line
+
+second line
+
+third line
+
+first line
+second line
+third line
+
+OpenBSD - July 10, 2012
diff --git a/regress/mdoc/Bl/multitype.out_markdown b/regress/mdoc/Bl/multitype.out_markdown
new file mode 100644
index 00000000..8f7f058c
--- /dev/null
+++ b/regress/mdoc/Bl/multitype.out_markdown
@@ -0,0 +1,11 @@
+BL-MULTITYPE(1) - General Commands Manual
+
+# NAME
+
+**Bl-multitype** - list with multiple types
+
+# DESCRIPTION
+
+- Some text.
+
+OpenBSD - October 28, 2009
diff --git a/regress/mdoc/Bl/notype.out_markdown b/regress/mdoc/Bl/notype.out_markdown
new file mode 100644
index 00000000..739a91cd
--- /dev/null
+++ b/regress/mdoc/Bl/notype.out_markdown
@@ -0,0 +1,23 @@
+BL-NOTYPE(1) - General Commands Manual
+
+# NAME
+
+**Bl-notype** - lists with late or missing types
+
+# DESCRIPTION
+
+late type:
+
+* Some text.
+
+no type:
+
+Some text.
+
+no argument at all:
+
+Some text.
+
+final text
+
+OpenBSD - August 10, 2016
diff --git a/regress/mdoc/Bl/ohang.out_markdown b/regress/mdoc/Bl/ohang.out_markdown
new file mode 100644
index 00000000..7c599411
--- /dev/null
+++ b/regress/mdoc/Bl/ohang.out_markdown
@@ -0,0 +1,25 @@
+BL-OHANG(1) - General Commands Manual
+
+# NAME
+
+**Bl-ohang** - over-hanging lists
+
+# DESCRIPTION
+
+first tag
+first line
+
+second tag
+second line
+
+third tag
+third line
+
+first tag
+first line
+second tag
+second line
+third tag
+third line
+
+OpenBSD - July 10, 2012
diff --git a/regress/mdoc/Bl/unclosed.out_markdown b/regress/mdoc/Bl/unclosed.out_markdown
new file mode 100644
index 00000000..92b6fb74
--- /dev/null
+++ b/regress/mdoc/Bl/unclosed.out_markdown
@@ -0,0 +1,15 @@
+BL-UNCLOSED(1) - General Commands Manual
+
+# NAME
+
+**Bl-unclosed** - list lacking an end macro
+
+# DESCRIPTION
+
+item
+
+# SEE ALSO
+
+mdoc(7)
+
+OpenBSD - January 9, 2011