]> git.cameronkatri.com Git - mandoc.git/commitdiff
first batch of -T markdown tests
authorIngo Schwarze <schwarze@openbsd.org>
Sun, 5 Mar 2017 19:59:33 +0000 (19:59 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sun, 5 Mar 2017 19:59:33 +0000 (19:59 +0000)
231 files changed:
regress/mdoc/Ad/Makefile
regress/mdoc/Ad/font.out_markdown [new file with mode: 0644]
regress/mdoc/Ad/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Ap/Makefile
regress/mdoc/Ap/eos.out_markdown [new file with mode: 0644]
regress/mdoc/Ap/middle.out_markdown [new file with mode: 0644]
regress/mdoc/Aq/Makefile
regress/mdoc/Aq/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Ar/Makefile
regress/mdoc/Ar/font.out_markdown [new file with mode: 0644]
regress/mdoc/Ar/punct.out_markdown [new file with mode: 0644]
regress/mdoc/At/Makefile
regress/mdoc/At/invalid.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/Makefile
regress/mdoc/Bl/bareIt.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/bareTa.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/breakingTa.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/bullet.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/dash.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/diag.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/emptyitem.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/enum.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/item.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/multitype.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/notype.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/ohang.out_markdown [new file with mode: 0644]
regress/mdoc/Bl/unclosed.out_markdown [new file with mode: 0644]
regress/mdoc/Brq/Makefile
regress/mdoc/Brq/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Bx/Makefile
regress/mdoc/Bx/args.out_markdown [new file with mode: 0644]
regress/mdoc/Cd/Makefile
regress/mdoc/Cd/eos.out_markdown [new file with mode: 0644]
regress/mdoc/Cd/font.out_markdown [new file with mode: 0644]
regress/mdoc/Cd/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Cm/Makefile
regress/mdoc/Cm/basic.out_markdown [new file with mode: 0644]
regress/mdoc/Cm/font.out_markdown [new file with mode: 0644]
regress/mdoc/Cm/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Dd/Makefile
regress/mdoc/Dd/badarg.out_markdown [new file with mode: 0644]
regress/mdoc/Dd/dupe.out_markdown [new file with mode: 0644]
regress/mdoc/Dd/late.out_markdown [new file with mode: 0644]
regress/mdoc/Dd/long.out_markdown [new file with mode: 0644]
regress/mdoc/Dd/manarg.out_markdown [new file with mode: 0644]
regress/mdoc/Dd/order.out_markdown [new file with mode: 0644]
regress/mdoc/Dl/Makefile
regress/mdoc/Dl/spacing.out_markdown [new file with mode: 0644]
regress/mdoc/Dq/Makefile
regress/mdoc/Dq/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/Makefile
regress/mdoc/Dt/case.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/dupe.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/fourargs.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/late.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/missing.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/nobody.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/nosec.out_markdown [new file with mode: 0644]
regress/mdoc/Dt/order.out_markdown [new file with mode: 0644]
regress/mdoc/Dv/Makefile
regress/mdoc/Dv/font.out_markdown [new file with mode: 0644]
regress/mdoc/Dv/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Em/Makefile
regress/mdoc/Em/font.out_markdown [new file with mode: 0644]
regress/mdoc/Em/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Em/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Eo/Makefile
regress/mdoc/Eo/break.out_markdown [new file with mode: 0644]
regress/mdoc/Eo/obsolete.out_markdown [new file with mode: 0644]
regress/mdoc/Eo/unclosed.out_markdown [new file with mode: 0644]
regress/mdoc/Er/Makefile
regress/mdoc/Er/font.out_markdown [new file with mode: 0644]
regress/mdoc/Er/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Ev/Makefile
regress/mdoc/Ev/font.out_markdown [new file with mode: 0644]
regress/mdoc/Ev/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Ex/Makefile
regress/mdoc/Ex/args.out_markdown [new file with mode: 0644]
regress/mdoc/Ex/noname.out_markdown [new file with mode: 0644]
regress/mdoc/Ex/nostd.out_markdown [new file with mode: 0644]
regress/mdoc/Fd/Makefile
regress/mdoc/Fd/break.out_markdown [new file with mode: 0644]
regress/mdoc/Fd/eos.out_markdown [new file with mode: 0644]
regress/mdoc/Fd/font.out_markdown [new file with mode: 0644]
regress/mdoc/Fl/Makefile
regress/mdoc/Fl/font.out_markdown [new file with mode: 0644]
regress/mdoc/Fl/multiarg.out_markdown [new file with mode: 0644]
regress/mdoc/Fl/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Fl/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/Makefile
regress/mdoc/Fo/basic.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/break.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/eos.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/font.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/nohead.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/obsolete.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/section.out_markdown [new file with mode: 0644]
regress/mdoc/Fo/warn.out_markdown [new file with mode: 0644]
regress/mdoc/Ft/Makefile
regress/mdoc/Ft/font.out_markdown [new file with mode: 0644]
regress/mdoc/Ic/Makefile
regress/mdoc/Ic/font.out_markdown [new file with mode: 0644]
regress/mdoc/Ic/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/In/Makefile
regress/mdoc/In/eos.out_markdown [new file with mode: 0644]
regress/mdoc/In/font.out_markdown [new file with mode: 0644]
regress/mdoc/Lb/Makefile
regress/mdoc/Lb/badargs.out_markdown [new file with mode: 0644]
regress/mdoc/Lb/break.out_markdown [new file with mode: 0644]
regress/mdoc/Lb/eos.out_markdown [new file with mode: 0644]
regress/mdoc/Li/Makefile
regress/mdoc/Li/font.out_markdown [new file with mode: 0644]
regress/mdoc/Li/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Lk/Makefile
regress/mdoc/Lk/link.out_markdown [new file with mode: 0644]
regress/mdoc/Lk/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Ms/Makefile
regress/mdoc/Ms/font.out_markdown [new file with mode: 0644]
regress/mdoc/Ms/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Mt/Makefile
regress/mdoc/Mt/simple.out_markdown [new file with mode: 0644]
regress/mdoc/Nd/Makefile
regress/mdoc/Nd/hyph.out_markdown [new file with mode: 0644]
regress/mdoc/Nd/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Nd/par.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/Makefile
regress/mdoc/Nm/break.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/broken.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/font.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/long.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/par.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/parns.out_markdown [new file with mode: 0644]
regress/mdoc/Nm/punct.out_markdown [new file with mode: 0644]
regress/mdoc/No/Makefile
regress/mdoc/No/punct.out_markdown [new file with mode: 0644]
regress/mdoc/No/spacing.out_markdown [new file with mode: 0644]
regress/mdoc/Ns/Makefile
regress/mdoc/Ns/position.out_markdown [new file with mode: 0644]
regress/mdoc/Ns/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Oo/Makefile
regress/mdoc/Oo/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Op/Makefile
regress/mdoc/Op/break.out_markdown [new file with mode: 0644]
regress/mdoc/Op/broken.out_markdown [new file with mode: 0644]
regress/mdoc/Op/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Os/Makefile
regress/mdoc/Os/dupe.out_markdown [new file with mode: 0644]
regress/mdoc/Os/late.out_markdown [new file with mode: 0644]
regress/mdoc/Os/long.out_markdown [new file with mode: 0644]
regress/mdoc/Os/missing.out_markdown [new file with mode: 0644]
regress/mdoc/Ox/Makefile
regress/mdoc/Ox/keep.out_markdown [new file with mode: 0644]
regress/mdoc/Pa/Makefile
regress/mdoc/Pa/font.out_markdown [new file with mode: 0644]
regress/mdoc/Pa/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Pf/Makefile
regress/mdoc/Pf/spacing.out_markdown [new file with mode: 0644]
regress/mdoc/Pp/Makefile
regress/mdoc/Pp/arg.out_markdown [new file with mode: 0644]
regress/mdoc/Qq/Makefile
regress/mdoc/Qq/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Rs/Makefile
regress/mdoc/Rs/allch.out_markdown [new file with mode: 0644]
regress/mdoc/Rs/args.out_markdown [new file with mode: 0644]
regress/mdoc/Rs/break.out_markdown [new file with mode: 0644]
regress/mdoc/Rs/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Rs/three_authors.out_markdown [new file with mode: 0644]
regress/mdoc/Rv/Makefile
regress/mdoc/Rv/args.out_markdown [new file with mode: 0644]
regress/mdoc/Rv/nostd.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/Makefile
regress/mdoc/Sh/badNAME.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/before.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/empty.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/emptyNAME.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/first.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/nohead.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/order.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/orderNAME.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/punctNAME.out_markdown [new file with mode: 0644]
regress/mdoc/Sh/subbefore.out_markdown [new file with mode: 0644]
regress/mdoc/Sm/Makefile
regress/mdoc/Sm/badarg.out_markdown [new file with mode: 0644]
regress/mdoc/Sm/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Sm/spacing-No.out_markdown [new file with mode: 0644]
regress/mdoc/Sm/spacing-Op.out_markdown [new file with mode: 0644]
regress/mdoc/Sm/twoarg.out_markdown [new file with mode: 0644]
regress/mdoc/Sq/Makefile
regress/mdoc/Sq/empty.out_markdown [new file with mode: 0644]
regress/mdoc/St/Makefile
regress/mdoc/St/badargs.out_markdown [new file with mode: 0644]
regress/mdoc/St/call.out_markdown [new file with mode: 0644]
regress/mdoc/Sx/Makefile
regress/mdoc/Sx/font.out_markdown [new file with mode: 0644]
regress/mdoc/Sx/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Sy/Makefile
regress/mdoc/Sy/font.out_markdown [new file with mode: 0644]
regress/mdoc/Sy/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Sy/punct.out_markdown [new file with mode: 0644]
regress/mdoc/Tn/Makefile
regress/mdoc/Tn/font.out_markdown [new file with mode: 0644]
regress/mdoc/Tn/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Ud/Makefile
regress/mdoc/Ud/arg.out_markdown [new file with mode: 0644]
regress/mdoc/Ux/Makefile
regress/mdoc/Ux/eos.out_markdown [new file with mode: 0644]
regress/mdoc/Ux/spacing.out_markdown [new file with mode: 0644]
regress/mdoc/Va/Makefile
regress/mdoc/Va/basic.out_markdown [new file with mode: 0644]
regress/mdoc/Va/font.out_markdown [new file with mode: 0644]
regress/mdoc/Va/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Vt/Makefile
regress/mdoc/Vt/child.out_markdown [new file with mode: 0644]
regress/mdoc/Vt/font.out_markdown [new file with mode: 0644]
regress/mdoc/Vt/noarg.out_markdown [new file with mode: 0644]
regress/mdoc/Vt/spacing.out_markdown [new file with mode: 0644]
regress/mdoc/Xr/Makefile
regress/mdoc/Xr/args.out_markdown [new file with mode: 0644]
regress/mdoc/blank/Makefile
regress/mdoc/blank/comment.out_markdown [new file with mode: 0644]
regress/mdoc/blank/list.out_markdown [new file with mode: 0644]
regress/mdoc/break/Makefile
regress/mdoc/break/brokenbreaker.out_markdown [new file with mode: 0644]
regress/mdoc/break/notopen.out_markdown [new file with mode: 0644]
regress/mdoc/break/twice.out_markdown [new file with mode: 0644]
regress/mdoc/break/two.out_markdown [new file with mode: 0644]

index 1be2a84aeb4ec5940b0b28f617f249ef7e8f80d6..667257a2a662b06f8fab216ef0caed166d1d9adb 100644 (file)
@@ -1,6 +1,7 @@
 # $OpenBSD: Makefile,v 1.4 2014/07/02 20:18:42 schwarze Exp $
 
-REGRESS_TARGETS = noarg font
+REGRESS_TARGETS        = noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ad/font.out_markdown b/regress/mdoc/Ad/font.out_markdown
new file mode 100644 (file)
index 0000000..365add6
--- /dev/null
@@ -0,0 +1,13 @@
+AD-FONT(1) - General Commands Manual
+
+# NAME
+
+**Ad-font** - changing fonts inside the address macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back* | *after*: *punctuation*
+trailing text
+
+OpenBSD - November 20, 2014
diff --git a/regress/mdoc/Ad/noarg.out_markdown b/regress/mdoc/Ad/noarg.out_markdown
new file mode 100644 (file)
index 0000000..de7b6c6
--- /dev/null
@@ -0,0 +1,14 @@
+AD-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Ad-noarg** - address macro without an argument
+
+# DESCRIPTION
+
+with address:
+*0x3bc*
+no address:
+end of test document
+
+OpenBSD - January 19, 2011
index 4ee492534dcd047dc05d5a16d1bc747c095b7885..f82cf7df5169c5adf2b6dc2dae318b27ddebdc87 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.2 2012/11/16 18:40:39 schwarze Exp $
 
 REGRESS_TARGETS = middle eos
+MARKDOWN_TARGETS = middle eos
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ap/eos.out_markdown b/regress/mdoc/Ap/eos.out_markdown
new file mode 100644 (file)
index 0000000..cefddcf
--- /dev/null
@@ -0,0 +1,15 @@
+AP-EOS(1) - General Commands Manual
+
+# NAME
+
+**Ap-eos** - end of sentence handling after the apostrophe macro
+
+# DESCRIPTION
+
+The first sentence is
+Ingo's.
+The second is
+Kristaps'.
+No idea about the third.
+
+OpenBSD - November 16, 2012
diff --git a/regress/mdoc/Ap/middle.out_markdown b/regress/mdoc/Ap/middle.out_markdown
new file mode 100644 (file)
index 0000000..9600945
--- /dev/null
@@ -0,0 +1,11 @@
+AP-MIDDLE(1) - General Commands Manual
+
+# NAME
+
+**Ap-middle** - apostrophe in the middle of a macro line
+
+# DESCRIPTION
+
+mandoc(1)'s
+
+OpenBSD - September 30, 2011
index ae347ad37d9fcf2ec52816fc7ea47e6d2ea7db1a..ac59b314b88b5adfdbe035a3dd5e931da9e658f7 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = author empty
 UTF8_TARGETS   = author empty
+MARKDOWN_TARGETS = empty
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Aq/empty.out_markdown b/regress/mdoc/Aq/empty.out_markdown
new file mode 100644 (file)
index 0000000..27039dd
--- /dev/null
@@ -0,0 +1,17 @@
+AQ-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Aq-empty** - empty implicit enclosure macros
+
+# DESCRIPTION
+
+An empty
+&lt;&gt;
+and a full
+&lt;user@host&gt;
+return path.
+And another
+&lt;full&gt; one.
+
+OpenBSD - August 6, 2010
index 2d1d895cb1f8b865eea27c73f412f985444143aa..d7ea1681630ac77ad2ad9201c86a51e3ed4e93f6 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $
 
 REGRESS_TARGETS = punct font
+MARKDOWN_TARGETS = punct font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ar/font.out_markdown b/regress/mdoc/Ar/font.out_markdown
new file mode 100644 (file)
index 0000000..8ee329e
--- /dev/null
@@ -0,0 +1,13 @@
+AR-FONT(1) - General Commands Manual
+
+# NAME
+
+**Ar-font** - changing fonts inside the argument macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Ar/punct.out_markdown b/regress/mdoc/Ar/punct.out_markdown
new file mode 100644 (file)
index 0000000..b8e3eda
--- /dev/null
@@ -0,0 +1,42 @@
+AR-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Ar-punct** - punctuation handling by the Ar macro
+
+# DESCRIPTION
+
+closing punctuation
+*a*)
+only one
+*file ...*)
+only more than one
+*file ...*))
+middle
+*a*) *z*
+start
+*file ...*) *z*
+dot
+*file ...*. *z*
+comma
+*file ...*, *z*
+semicolon
+*file ...*; *z*
+colon
+*file ...*: *z*
+quest
+*file ...*? *z*
+excl
+*file ...*! *z*
+paren
+*file ...*) *z*
+bracket
+*file ...*] *z*
+bar
+| *m*
+op paren
+(*a*
+op bracket
+\[*a*
+
+OpenBSD - August 21, 2014
index 6c3629959d320b058e5ee3f9df9f746fce047fc0..14baff1171597b7181e609719c22f55653eea3c0 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = invalid
 LINT_TARGETS   = invalid
+MARKDOWN_TARGETS = invalid
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/At/invalid.out_markdown b/regress/mdoc/At/invalid.out_markdown
new file mode 100644 (file)
index 0000000..0b95255
--- /dev/null
@@ -0,0 +1,20 @@
+AT-INVALID(1) - General Commands Manual
+
+# NAME
+
+**At-invalid** - handling of an invalid AT&T UNIX argument
+
+# DESCRIPTION
+
+no argument:
+AT&T UNIX
+
+valid argument:
+Version&#160;7 AT&T UNIX
+
+invalid argument:
+AT&T UNIX murks
+
+end of file
+
+OpenBSD - June 30, 2010
index c8c9b3c9e146928b140e4ceca4bbf9bfb2fc02a5..bec6cdef0e1ac27b52e4c006ff5ea9671d114ac2 100644 (file)
@@ -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 (file)
index 0000000..f128077
--- /dev/null
@@ -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 (file)
index 0000000..d2dd712
--- /dev/null
@@ -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 (file)
index 0000000..64cdc72
--- /dev/null
@@ -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 (file)
index 0000000..25febb9
--- /dev/null
@@ -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 (file)
index 0000000..f478e4a
--- /dev/null
@@ -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 (file)
index 0000000..dbde3cf
--- /dev/null
@@ -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 (file)
index 0000000..048f61a
--- /dev/null
@@ -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 (file)
index 0000000..b61ef85
--- /dev/null
@@ -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 (file)
index 0000000..0c15d67
--- /dev/null
@@ -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 (file)
index 0000000..cfceb8d
--- /dev/null
@@ -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 (file)
index 0000000..8f7f058
--- /dev/null
@@ -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 (file)
index 0000000..739a91c
--- /dev/null
@@ -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 (file)
index 0000000..7c59941
--- /dev/null
@@ -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 (file)
index 0000000..92b6fb7
--- /dev/null
@@ -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
index 24f19edf6afc4b2e939edc1448f039233dd3716b..d4c41e6e17dc5458e0cd22d085c7255b43605645 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
 
-REGRESS_TARGETS=empty
+REGRESS_TARGETS  = empty
+MARKDOWN_TARGETS = empty
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Brq/empty.out_markdown b/regress/mdoc/Brq/empty.out_markdown
new file mode 100644 (file)
index 0000000..f32edd8
--- /dev/null
@@ -0,0 +1,17 @@
+BRQ-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Brq-empty** - empty implicit enclosure macros
+
+# DESCRIPTION
+
+An empty
+{}
+and a full
+{user@host}
+quotation.
+And another
+{full} one.
+
+OpenBSD - October 21, 2010
index b27441d0844359a717e4b8c0223c5788c2586f13..14c730dd5e7dcf5cb7b68b470e5da3f726a9ff0c 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $
 
-REGRESS_TARGETS=args
+REGRESS_TARGETS  = args
+MARKDOWN_TARGETS = args
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Bx/args.out_markdown b/regress/mdoc/Bx/args.out_markdown
new file mode 100644 (file)
index 0000000..1c9fc45
--- /dev/null
@@ -0,0 +1,29 @@
+BX-ARGS(1) - General Commands Manual
+
+# NAME
+
+**Bx-args** - arguments to the BSD macro
+
+# DESCRIPTION
+
+no arguments:
+BSD
+
+one standard argument:
+4\.4BSD
+
+one non-standard argument:
+nettBSD
+
+one semi-standard argument:
+4\.1cBSD
+
+two standard arguments:
+4\.3BSD-Reno
+
+more arguments:
+4\.3BSD-Tahoe and some additional words
+
+end of test document
+
+OpenBSD - January 30, 2011
index 164e5964c717c64c0101658548e93c9e605e0357..0926221e8f462083caa21699d0dccfd9177f0f90 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font eos
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font eos
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Cd/eos.out_markdown b/regress/mdoc/Cd/eos.out_markdown
new file mode 100644 (file)
index 0000000..625016a
--- /dev/null
@@ -0,0 +1,13 @@
+CD-EOS(1) - General Commands Manual
+
+# NAME
+
+**Cd-eos** - end of sentence handling after the configuration directive macro
+
+# DESCRIPTION
+
+Do not use
+**options INSECURE**.
+It is insecure.
+
+OpenBSD - November 17, 2012
diff --git a/regress/mdoc/Cd/font.out_markdown b/regress/mdoc/Cd/font.out_markdown
new file mode 100644 (file)
index 0000000..48594b4
--- /dev/null
@@ -0,0 +1,13 @@
+CD-FONT(1) - General Commands Manual
+
+# NAME
+
+**Cd-font** - changing fonts inside the configuration declaration macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Cd/noarg.out_markdown b/regress/mdoc/Cd/noarg.out_markdown
new file mode 100644 (file)
index 0000000..ce447da
--- /dev/null
@@ -0,0 +1,14 @@
+CD-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Cd-noarg** - kernel configuration directive without arguments
+
+# DESCRIPTION
+
+with arguments:
+**wd\* at pciide?**
+without arguments:
+end of test document
+
+OpenBSD - January 19, 2011
index e674e7562db6b846e8fe10dc1ebdf6d8767adb59..aa181eab3c4602db90888e76efa412bcc4adcdfb 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = basic font noarg
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = basic font noarg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Cm/basic.out_markdown b/regress/mdoc/Cm/basic.out_markdown
new file mode 100644 (file)
index 0000000..0822c26
--- /dev/null
@@ -0,0 +1,15 @@
+CM-BASIC(1) - General Commands Manual
+
+# NAME
+
+**Cm-basic** - basic usage of the Cm macro
+
+# DESCRIPTION
+
+end of line:
+**mt** **-f** *device* **rewind**
+
+middle of line:
+**ps** **-o** **pid**,**command**
+
+OpenBSD - July 6, 2012
diff --git a/regress/mdoc/Cm/font.out_markdown b/regress/mdoc/Cm/font.out_markdown
new file mode 100644 (file)
index 0000000..2f58f0c
--- /dev/null
@@ -0,0 +1,13 @@
+CM-FONT(1) - General Commands Manual
+
+# NAME
+
+**Cm-font** - changing fonts inside the command modifier macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Cm/noarg.out_markdown b/regress/mdoc/Cm/noarg.out_markdown
new file mode 100644 (file)
index 0000000..6aff635
--- /dev/null
@@ -0,0 +1,15 @@
+CM-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Cm-noarg** - command modifier macro without arguments
+
+# DESCRIPTION
+
+end of line:
+**mt** **-f** *device*
+
+middle of line:
+**ps** **-x** **-o** **command**
+
+OpenBSD - July 2, 2014
index e50e9b6101f71e2a83e1433da77df19212e2d5c4..396b268d7c54937ea202ec8e2a57fdd8fcd03c3e 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS         = badarg dupe late long manarg noarg order
 LINT_TARGETS    = badarg dupe late long manarg noarg order
+MARKDOWN_TARGETS = badarg dupe late long manarg order
 
 # If groff finds exactly three arguments, it assumes they are month,
 # day and year without further checking.  If there are no arguments,
diff --git a/regress/mdoc/Dd/badarg.out_markdown b/regress/mdoc/Dd/badarg.out_markdown
new file mode 100644 (file)
index 0000000..1dae22a
--- /dev/null
@@ -0,0 +1,11 @@
+DD-BADARG(1) - General Commands Manual
+
+# NAME
+
+**Dd-badarg** - date cannot be parsed
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - bad date
diff --git a/regress/mdoc/Dd/dupe.out_markdown b/regress/mdoc/Dd/dupe.out_markdown
new file mode 100644 (file)
index 0000000..f5a3b81
--- /dev/null
@@ -0,0 +1,12 @@
+DD-DUPE(1) - General Commands Manual
+
+# NAME
+
+**Dd-dupe** - duplicate date macro
+
+# DESCRIPTION
+
+initial text
+final text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dd/late.out_markdown b/regress/mdoc/Dd/late.out_markdown
new file mode 100644 (file)
index 0000000..1989c84
--- /dev/null
@@ -0,0 +1,12 @@
+DD-LATE(1) - General Commands Manual
+
+# NAME
+
+**Dd-late** - late date macro
+
+# DESCRIPTION
+
+initial text
+final text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dd/long.out_markdown b/regress/mdoc/Dd/long.out_markdown
new file mode 100644 (file)
index 0000000..8b5ad96
--- /dev/null
@@ -0,0 +1,11 @@
+DD-LONG(1) - General Commands Manual
+
+# NAME
+
+**Dd-long** - long date string
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - 1234567890123456789012345678901234567890123456789012345678901234567890123456789
diff --git a/regress/mdoc/Dd/manarg.out_markdown b/regress/mdoc/Dd/manarg.out_markdown
new file mode 100644 (file)
index 0000000..c78bdc4
--- /dev/null
@@ -0,0 +1,11 @@
+DD-MANARG(1) - General Commands Manual
+
+# NAME
+
+**Dd-manarg** - date in traditional man format
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - 2014-08-07
diff --git a/regress/mdoc/Dd/order.out_markdown b/regress/mdoc/Dd/order.out_markdown
new file mode 100644 (file)
index 0000000..b5a28c3
--- /dev/null
@@ -0,0 +1,11 @@
+DD-ORDER(1) - General Commands Manual
+
+# NAME
+
+**Dd-order** - date macro after title macro
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - August 5, 2014
index bed27d1b1f1abae30cb8eb2d1f0d5af9e635d4a6..047c39bd653e5b6dee1c8053c8ed021868836c84 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS         = spacing
 LINT_TARGETS    = spacing
+MARKDOWN_TARGETS = spacing
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Dl/spacing.out_markdown b/regress/mdoc/Dl/spacing.out_markdown
new file mode 100644 (file)
index 0000000..fb4cd5c
--- /dev/null
@@ -0,0 +1,17 @@
+DL-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Dl-spacing** - spacing in and around one-line literal displays
+
+# DESCRIPTION
+
+preceding text
+
+       spacing in and around one-line literal displays
+
+empty display:
+
+following text
+
+OpenBSD - February 5, 2015
index 24f19edf6afc4b2e939edc1448f039233dd3716b..d4c41e6e17dc5458e0cd22d085c7255b43605645 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
 
-REGRESS_TARGETS=empty
+REGRESS_TARGETS  = empty
+MARKDOWN_TARGETS = empty
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Dq/empty.out_markdown b/regress/mdoc/Dq/empty.out_markdown
new file mode 100644 (file)
index 0000000..6cba874
--- /dev/null
@@ -0,0 +1,17 @@
+DQ-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Dq-empty** - empty implicit enclosure macros
+
+# DESCRIPTION
+
+An empty
+""
+and a full
+"user@host"
+quotation.
+And another
+"full" one.
+
+OpenBSD - October 21, 2010
index b0d0b0a87782b752fdd4f49daae544317ff6740d..2c896aa3a388985e7ed98a5717a48aa30c0ed4f6 100644 (file)
@@ -4,6 +4,8 @@ REGRESS_TARGETS  = badsec case dupe fourargs late
 REGRESS_TARGETS        += missing noarg nobody nosec order
 LINT_TARGETS    = badsec case dupe fourargs late
 LINT_TARGETS   += missing noarg nobody nosec order
+MARKDOWN_TARGETS  = case dupe fourargs late
+MARKDOWN_TARGETS += missing noarg nobody nosec order
 
 SKIP_GROFF      = badsec nobody
 SKIP_ASCII      = badsec
diff --git a/regress/mdoc/Dt/case.out_markdown b/regress/mdoc/Dt/case.out_markdown
new file mode 100644 (file)
index 0000000..d6bc4c4
--- /dev/null
@@ -0,0 +1,11 @@
+Dt-case(1) - General Commands Manual
+
+# NAME
+
+**Dt-case** - document title is not all caps
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - June 13, 2014
diff --git a/regress/mdoc/Dt/dupe.out_markdown b/regress/mdoc/Dt/dupe.out_markdown
new file mode 100644 (file)
index 0000000..3dec7ec
--- /dev/null
@@ -0,0 +1,12 @@
+DT-DUPE(1) - General Commands Manual
+
+# NAME
+
+**Dt-order** - duplicate prologue macro
+
+# DESCRIPTION
+
+inital text
+final text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dt/fourargs.out_markdown b/regress/mdoc/Dt/fourargs.out_markdown
new file mode 100644 (file)
index 0000000..5d8a6f2
--- /dev/null
@@ -0,0 +1,11 @@
+DT-FOURARGS(1) - General Commands Manual (amd64)
+
+# NAME
+
+**Dt-fourargs** - too many arguments after the Dt macro
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - February 16, 2015
diff --git a/regress/mdoc/Dt/late.out_markdown b/regress/mdoc/Dt/late.out_markdown
new file mode 100644 (file)
index 0000000..262acf0
--- /dev/null
@@ -0,0 +1,12 @@
+UNTITLED - LOCAL
+
+# NAME
+
+**Dt-late** - late title macro
+
+# DESCRIPTION
+
+inital text
+final text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dt/missing.out_markdown b/regress/mdoc/Dt/missing.out_markdown
new file mode 100644 (file)
index 0000000..792db2a
--- /dev/null
@@ -0,0 +1,11 @@
+UNTITLED - LOCAL
+
+# NAME
+
+**Dt-missing** - no title macro at all
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dt/noarg.out_markdown b/regress/mdoc/Dt/noarg.out_markdown
new file mode 100644 (file)
index 0000000..81c27a0
--- /dev/null
@@ -0,0 +1,11 @@
+UNTITLED - LOCAL
+
+# NAME
+
+**Dt-noarg** - title macro without arguments
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dt/nobody.out_markdown b/regress/mdoc/Dt/nobody.out_markdown
new file mode 100644 (file)
index 0000000..5b86c64
--- /dev/null
@@ -0,0 +1,3 @@
+DT-NOBODY(1) - General Commands Manual
+
+OpenBSD - June 20, 2014
diff --git a/regress/mdoc/Dt/nosec.out_markdown b/regress/mdoc/Dt/nosec.out_markdown
new file mode 100644 (file)
index 0000000..cebe8e6
--- /dev/null
@@ -0,0 +1,11 @@
+DT-NOSEC - LOCAL
+
+# NAME
+
+**Dt-nosec** - title macro without manual section
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Dt/order.out_markdown b/regress/mdoc/Dt/order.out_markdown
new file mode 100644 (file)
index 0000000..7d55fe9
--- /dev/null
@@ -0,0 +1,11 @@
+DT-ORDER(1) - General Commands Manual
+
+# NAME
+
+**Dt-order** - prologue macros out of order
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - June 13, 2014
index cfe3ad0b4b2312ac6dd6103c019daaeb875ae603..9fa35934ae18cd8fcbcd43f501df23b42cc10d4b 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = font noarg
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = font noarg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Dv/font.out_markdown b/regress/mdoc/Dv/font.out_markdown
new file mode 100644 (file)
index 0000000..f4104d1
--- /dev/null
@@ -0,0 +1,16 @@
+DV-FONT(1) - General Commands Manual
+
+# NAME
+
+**Dv-font** - formatting of defined variables
+
+# DESCRIPTION
+
+The
+`BUFSIZ`
+macro.
+
+And with
+`some *embedded* string`.
+
+OpenBSD - October 21, 2011
diff --git a/regress/mdoc/Dv/noarg.out_markdown b/regress/mdoc/Dv/noarg.out_markdown
new file mode 100644 (file)
index 0000000..7d1f29d
--- /dev/null
@@ -0,0 +1,14 @@
+DV-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Dv-noarg** - defined variable macro without an argument
+
+# DESCRIPTION
+
+with variable:
+`NULL`
+no variable:
+end of test document
+
+OpenBSD - July 2, 2014
index 13de4337a2048074a88e5318a2fc7515db0c9e64..b10c9d95402b6f6ff99faf22d862f89513762304 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = font noarg punct
 LINT_TARGETS   = noarg punct
+MARKDOWN_TARGETS = font noarg punct
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Em/font.out_markdown b/regress/mdoc/Em/font.out_markdown
new file mode 100644 (file)
index 0000000..fc851fe
--- /dev/null
@@ -0,0 +1,13 @@
+EM-FONT(1) - General Commands Manual
+
+# NAME
+
+**Em-font** - changing fonts inside the emphasis macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Em/noarg.out_markdown b/regress/mdoc/Em/noarg.out_markdown
new file mode 100644 (file)
index 0000000..7c3b984
--- /dev/null
@@ -0,0 +1,14 @@
+EM-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Em-noarg** - emphasis macro without arguments
+
+# DESCRIPTION
+
+with argument
+*arg*
+no argument
+end of test document
+
+OpenBSD - January 19, 2011
diff --git a/regress/mdoc/Em/punct.out_markdown b/regress/mdoc/Em/punct.out_markdown
new file mode 100644 (file)
index 0000000..5d3e852
--- /dev/null
@@ -0,0 +1,85 @@
+EM-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Em-punct** - punctuation following an emphasis macro
+
+# DESCRIPTION
+
+Leading punctuation:
+(*b*
+\[*b*
+| *b*
+. *b*
+, *b*
+; *b*
+: *b*
+? *b*
+! *b*
+) *b*
+] *b*
+
+Trailing punctuation:
+*a* (
+*a* \[
+*a* |
+*a*.
+*a*,
+*a*;
+*a*:
+*a*?
+*a*!
+*a*)
+*a*]
+
+Middle punctuation:
+*a* (*b*
+*a* \[*b*
+*a* | *b*
+*a*. *b*
+*a*, *b*
+*a*; *b*
+*a*: *b*
+*a*? *b*
+*a*! *b*
+*a*) *b*
+*a*] *b*
+
+Isolated punctuation:
+*a* (*b*
+*a* \[*b*
+*a* | *b*
+*a* . *b*
+*a* , *b*
+*a* ; *b*
+*a* : *b*
+*a* ? *b*
+*a* ! *b*
+*a* ) *b*
+*a* ] *b*
+
+Isolated trailing punctuation:
+*a* (
+*a* \[
+*a* |
+*a* .
+*a* ,
+*a* ;
+*a* :
+*a* ?
+*a* !
+*a* )
+*a* ]
+
+Multiple isolated punctuation:
+*a* (\[*b*
+*a* )] *b*
+
+Multiple punctuation:
+\[(*arg*)].
+
+Quoted:
+*a . b Nm*
+*. b Nm*
+
+OpenBSD - November 17, 2014
index 0034e271182fc3f71174bdf762203c4a93db7823..c1c13b358f14fb65d88384b9dd95269351105905 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS         = break empty obsolete unclosed
 LINT_TARGETS    = break obsolete unclosed
+MARKDOWN_TARGETS = break obsolete unclosed
 
 # groff-1.22.3 defect:
 # - When .Ec is missing, groff prints no page footer.
diff --git a/regress/mdoc/Eo/break.out_markdown b/regress/mdoc/Eo/break.out_markdown
new file mode 100644 (file)
index 0000000..be1ea24
--- /dev/null
@@ -0,0 +1,43 @@
+EO-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Eo-break** - breaking a custom enclosure block
+
+# DESCRIPTION
+
+break
+&lt;&lt;eo
+\[bo
+ec&gt;&gt;
+bc]
+no closing
+&lt;&lt;eo
+\[bo
+ec
+bc]
+no content
+&lt;&lt;\[&gt;&gt;
+bc]
+opening only
+&lt;&lt;\[
+bc]
+broken
+\[bo
+&lt;&lt;eo
+bc]
+ec&gt;&gt;
+no content
+\[bo
+&lt;&lt;]&gt;&gt;
+no opening
+\[bo
+eo
+bc]
+ec&gt;&gt;
+closing only
+\[bo
+]&gt;&gt;
+final text
+
+OpenBSD - February 1, 2015
diff --git a/regress/mdoc/Eo/obsolete.out_markdown b/regress/mdoc/Eo/obsolete.out_markdown
new file mode 100644 (file)
index 0000000..21a3e69
--- /dev/null
@@ -0,0 +1,22 @@
+EO-OBSOLETE(1) - General Commands Manual
+
+# NAME
+
+**Eo-obsolete** - obsolete enclosure macros
+
+# DESCRIPTION
+
+no prior Es
+
+surplus
+initial text
+&lt;&lt;enclosed words with **-flags**&gt;&gt;
+middle text
+&lt;&lt;more enclosed words&gt;&gt;
+final text
+
+initial text
+after empty Es
+final text
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Eo/unclosed.out_markdown b/regress/mdoc/Eo/unclosed.out_markdown
new file mode 100644 (file)
index 0000000..105f4dc
--- /dev/null
@@ -0,0 +1,12 @@
+EO-UNCLOSED(1) - General Commands Manual
+
+# NAME
+
+**Eo-unclosed** - unclosed custom enclosure block
+
+# DESCRIPTION
+
+before block
+&lt;&lt;
+
+OpenBSD - February 11, 2015
index 1be2a84aeb4ec5940b0b28f617f249ef7e8f80d6..e13130c15f75c0ce7dc2e32f447752c69f3edae6 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Er/font.out_markdown b/regress/mdoc/Er/font.out_markdown
new file mode 100644 (file)
index 0000000..f792b74
--- /dev/null
@@ -0,0 +1,13 @@
+ER-FONT(1) - General Commands Manual
+
+# NAME
+
+**Er-font** - changing fonts inside the error code macro
+
+# DESCRIPTION
+
+normal text
+`EFONT*emphasis*EBACK`
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Er/noarg.out_markdown b/regress/mdoc/Er/noarg.out_markdown
new file mode 100644 (file)
index 0000000..0bb4b97
--- /dev/null
@@ -0,0 +1,14 @@
+ER-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Er-noarg** - error constant macro without an argument
+
+# DESCRIPTION
+
+with error:
+`ENOENT`
+no error:
+end of test document
+
+OpenBSD - January 19, 2011
index cfe3ad0b4b2312ac6dd6103c019daaeb875ae603..9fa35934ae18cd8fcbcd43f501df23b42cc10d4b 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = font noarg
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = font noarg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ev/font.out_markdown b/regress/mdoc/Ev/font.out_markdown
new file mode 100644 (file)
index 0000000..99d33cd
--- /dev/null
@@ -0,0 +1,16 @@
+EV-FONT(1) - General Commands Manual
+
+# NAME
+
+**Ev-font** - formatting of environment variables
+
+# DESCRIPTION
+
+The
+`PATH`
+variable.
+
+And with
+`some *embedded* string`.
+
+OpenBSD - October 21, 2011
diff --git a/regress/mdoc/Ev/noarg.out_markdown b/regress/mdoc/Ev/noarg.out_markdown
new file mode 100644 (file)
index 0000000..fbba368
--- /dev/null
@@ -0,0 +1,14 @@
+EV-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Ev-noarg** - environment variable macro without an argument
+
+# DESCRIPTION
+
+with variable:
+`HOME`
+no variable:
+end of test document
+
+OpenBSD - July 2, 2014
index 8a714ce124e2c015db46da971e963d3754c94965..af31cf786a6a57febacf711756a2aca68fe3cf87 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS         = args noname nostd
 LINT_TARGETS    = noname nostd
+MARKDOWN_TARGETS = args noname nostd
 
 # groff-1.22.2 defect:
 # - .Ex without -std produces no output
diff --git a/regress/mdoc/Ex/args.out_markdown b/regress/mdoc/Ex/args.out_markdown
new file mode 100644 (file)
index 0000000..9c70152
--- /dev/null
@@ -0,0 +1,18 @@
+EX-ARGS(1) - General Commands Manual
+
+# NAME
+
+**Ex-args** - arguments to the exit value macro
+
+# EXIT STATUS
+
+no arguments:
+The **Ex-args** utility exits&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+one argument:
+The **one** utility exits&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+two arguments:
+The **one** and **two** utilities exit&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+OpenBSD - July 29, 2014
diff --git a/regress/mdoc/Ex/noname.out_markdown b/regress/mdoc/Ex/noname.out_markdown
new file mode 100644 (file)
index 0000000..4fad75b
--- /dev/null
@@ -0,0 +1,18 @@
+EX-NONAME(1) - General Commands Manual
+
+# NAME
+
+**&zwnj;** - exit value macro without an available name
+
+# EXIT STATUS
+
+no arguments:
+The utility exits&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+one argument:
+The **one** utility exits&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+two arguments:
+The **one** and **two** utilities exit&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+OpenBSD - July 29, 2014
diff --git a/regress/mdoc/Ex/nostd.out_markdown b/regress/mdoc/Ex/nostd.out_markdown
new file mode 100644 (file)
index 0000000..c3020fc
--- /dev/null
@@ -0,0 +1,18 @@
+EX-NOSTD(1) - General Commands Manual
+
+# NAME
+
+**Ex-nostd** - exit value macros without -std arguments
+
+# EXIT STATUS
+
+no arguments:
+The **Ex-nostd** utility exits&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+one argument:
+The **one** utility exits&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+two arguments:
+The **one** and **two** utilities exit&#160;0 on success, and&#160;&gt;0 if an error occurs.
+
+OpenBSD - July 29, 2014
index 7cd78c65b86181957d09346011b77a750841d95a..c1c6d5ddb2cdad55ff4f3188e31eb39b482650d8 100644 (file)
@@ -3,5 +3,6 @@
 REGRESS_TARGETS         = break empty eos font
 LINT_TARGETS    = empty
 SKIP_TMAN       = eos
+MARKDOWN_TARGETS = break eos font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Fd/break.out_markdown b/regress/mdoc/Fd/break.out_markdown
new file mode 100644 (file)
index 0000000..1d8459a
--- /dev/null
@@ -0,0 +1,35 @@
+FD-BREAK(2) - System Calls Manual
+
+# NAME
+
+**Fd-break** - line break before old-style header include file
+
+# SYNOPSIS
+
+**#include &lt;fcntl.h&gt;**
+
+*int*  
+**open**(*const char \*path*, *int flags*, *mode\_t mode*);
+
+**#include &lt;sys/types.h&gt;**  
+**#include &lt;unistd.h&gt;**
+
+*int*  
+**dup**(*int oldd*);
+
+*ssize\_t*  
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*);
+
+# DESCRIPTION
+
+**#include &lt;fcntl.h&gt;**  
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*)
+**#include &lt;sys/types.h&gt;**  
+**#include &lt;unistd.h&gt;**  
+*int*
+**dup**(*int oldd*)
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*)
+
+OpenBSD - June 9, 2010
diff --git a/regress/mdoc/Fd/eos.out_markdown b/regress/mdoc/Fd/eos.out_markdown
new file mode 100644 (file)
index 0000000..c415843
--- /dev/null
@@ -0,0 +1,13 @@
+FD-EOS(1) - General Commands Manual
+
+# NAME
+
+**Fd-eos** - end of sentence handling after the legacy include macro
+
+# DESCRIPTION
+
+Let's use
+**string.h .**  
+And then something else.
+
+OpenBSD - November 17, 2012
diff --git a/regress/mdoc/Fd/font.out_markdown b/regress/mdoc/Fd/font.out_markdown
new file mode 100644 (file)
index 0000000..d90fae6
--- /dev/null
@@ -0,0 +1,13 @@
+FD-FONT(2) - System Calls Manual
+
+# NAME
+
+**Fd-font** - changing the font inside the old-style include macro
+
+# DESCRIPTION
+
+normal text
+**prefix*header*suffix**  
+trailing text
+
+OpenBSD - July 9, 2012
index e9e01a192cdabb397e0a01f64c7b4963b53994c0..b024856eaa1f47f28e54f0165a845cde1c32c16a 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.8 2014/08/21 12:56:24 schwarze Exp $
 
 REGRESS_TARGETS = noarg multiarg parsed punct font
+MARKDOWN_TARGETS = noarg multiarg punct font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Fl/font.out_markdown b/regress/mdoc/Fl/font.out_markdown
new file mode 100644 (file)
index 0000000..cb48c80
--- /dev/null
@@ -0,0 +1,13 @@
+FL-FONT(1) - General Commands Manual
+
+# NAME
+
+**Fl-font** - changing fonts inside the flag macro
+
+# DESCRIPTION
+
+normal text
+**-bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Fl/multiarg.out_markdown b/regress/mdoc/Fl/multiarg.out_markdown
new file mode 100644 (file)
index 0000000..065c774
--- /dev/null
@@ -0,0 +1,17 @@
+FL-MULTIARG(1) - General Commands Manual
+
+# NAME
+
+**Fl-multiarg** - multiple arguments to a Fl macro
+
+# DESCRIPTION
+
+Each group of flags in
+**-a** **-b** **-c** **-def**
+gets its own dash.
+
+Punctuation characters like in
+\[**-a** | **-b**]
+get no dash.
+
+OpenBSD - December 24, 2009
diff --git a/regress/mdoc/Fl/noarg.out_markdown b/regress/mdoc/Fl/noarg.out_markdown
new file mode 100644 (file)
index 0000000..9edc191
--- /dev/null
@@ -0,0 +1,22 @@
+FL-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Fl-noarg** - Fl macro without arguments
+
+# DESCRIPTION
+
+Without an argument, it yields
+**-**
+a dash.
+
+This is true even before middle
+**-** | **-and**
+trailing punctuation
+**-**.
+
+Following macros
+**-** \[flag]
+follow without white space.
+
+OpenBSD - August 21, 2014
diff --git a/regress/mdoc/Fl/punct.out_markdown b/regress/mdoc/Fl/punct.out_markdown
new file mode 100644 (file)
index 0000000..aba7054
--- /dev/null
@@ -0,0 +1,42 @@
+FL-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Fl-punct** - punctuation handling by the Fl macro
+
+# DESCRIPTION
+
+closing punctuation
+**-a**)
+only one
+**-**)
+only more than one
+**-**))
+middle
+**-a**) **-z**
+start
+**-**) **-z**
+dot
+**-**. **-z**
+comma
+**-**, **-z**
+semicolon
+**-**; **-z**
+colon
+**-**: **-z**
+quest
+**-**? **-z**
+excl
+**-**! **-z**
+paren
+**-**) **-z**
+bracket
+**-**] **-z**
+bar
+**-** | **-m**
+op paren
+(**-a**
+op bracket
+\[**-a**
+
+OpenBSD - August 21, 2014
index 71242c8e45668889b3edc12007f7fd7c92d21eb6..f4458b9cbc23ac2a0d462ef169825836c474a515 100644 (file)
@@ -3,6 +3,8 @@
 REGRESS_TARGETS         = basic break eos font noarg nohead
 REGRESS_TARGETS += obsolete punct section warn
 LINT_TARGETS    = noarg nohead obsolete warn
+MARKDOWN_TARGETS  = basic break eos font noarg nohead
+MARKDOWN_TARGETS += obsolete punct section warn
 
 # groff-1.22.3 defects:
 # - .Fo without an argument prints unbalanced parentheses
diff --git a/regress/mdoc/Fo/basic.out_markdown b/regress/mdoc/Fo/basic.out_markdown
new file mode 100644 (file)
index 0000000..9ac884d
--- /dev/null
@@ -0,0 +1,22 @@
+FO-BASIC(1) - General Commands Manual
+
+# NAME
+
+**Fo-basic** - function blocks
+
+# SYNOPSIS
+
+*double*  
+**sin**(*double x*);
+
+*double*  
+**atan2**(*double y*, *double x*);
+
+# DESCRIPTION
+
+*double*
+**sin**(*double x*)
+*double*
+**atan2**(*double y*, *double x*)
+
+OpenBSD - July 7, 2012
diff --git a/regress/mdoc/Fo/break.out_markdown b/regress/mdoc/Fo/break.out_markdown
new file mode 100644 (file)
index 0000000..3a551bf
--- /dev/null
@@ -0,0 +1,45 @@
+FO-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Fo-break** - line breaks in function blocks
+
+# SYNOPSIS
+
+**using Fn:**
+
+*my\_long\_return\_type \*&zwnj;*  
+**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*);
+
+*void*  
+**this function name is so ridiculously long that it will not fit on the line**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*, *my\_long\_type third\_argument*);
+
+**using Fo and single-argument Fa:**
+
+*my\_long\_return\_type \*&zwnj;*  
+**my\_long\_function**(*my\_long\_type first\_argument*,
+*my\_long\_type second\_argument*);
+
+*void*  
+**this function name is so ridiculously long that it will not fit on the line**(*my\_long\_type first\_argument*,
+*my\_long\_type second\_argument*,
+*my\_long\_type third\_argument*);
+
+**using Fo and multi-argument Fa:**
+
+*my\_long\_return\_type \*&zwnj;*  
+**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*);
+
+# DESCRIPTION
+
+using Fn:  
+**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*)
+
+using Fo and single-argument Fa:  
+**my\_long\_function**(*my\_long\_type first\_argument*,
+*my\_long\_type second\_argument*)
+
+using Fo and multi-argument Fa:  
+**my\_long\_function**(*my\_long\_type first\_argument*, *my\_long\_type second\_argument*)
+
+OpenBSD - April 8, 2014
diff --git a/regress/mdoc/Fo/eos.out_markdown b/regress/mdoc/Fo/eos.out_markdown
new file mode 100644 (file)
index 0000000..81e0a47
--- /dev/null
@@ -0,0 +1,17 @@
+FO-EOS(1) - General Commands Manual
+
+# NAME
+
+**Fo-eos** - end of sentence handling after a function block
+
+# DESCRIPTION
+
+As an example of a trigonometric function, let us consider
+**double sin**(*double x*).
+Or do you prefer
+*double*
+**cos**(*double*, *x*)
+.
+Either will do.
+
+OpenBSD - November 17, 2012
diff --git a/regress/mdoc/Fo/font.out_markdown b/regress/mdoc/Fo/font.out_markdown
new file mode 100644 (file)
index 0000000..d36e0b8
--- /dev/null
@@ -0,0 +1,18 @@
+FO-FONT(1) - General Commands Manual
+
+# NAME
+
+**Fo-font** - font nesting in function blocks
+
+# DESCRIPTION
+
+**prefix*name*suffix**(*type arg*)
+trailing text
+
+**prefix*name*suffix**(*type arg*)
+trailing text
+
+**function**(*prefix**bold**suffix*)
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Fo/noarg.out_markdown b/regress/mdoc/Fo/noarg.out_markdown
new file mode 100644 (file)
index 0000000..36a8350
--- /dev/null
@@ -0,0 +1,32 @@
+FN-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Fn-noarg** - function name macro without arguments
+
+# DESCRIPTION
+
+with arguments:
+*int*
+**abs**(*int i*)
+*long*
+**labs**(*long i*)
+void function arguments:
+*int*
+**rand**()
+*long*
+**random**()
+*u\_int32\_t*
+**arc4random**()
+no name arguments:
+*int*
+no type arguments:
+**abs**(*int i*)
+no type and void function arguments:
+**rand**()
+**random**()
+**arc4random**()
+no arguments at all:
+end of test document
+
+OpenBSD - July 12, 2012
diff --git a/regress/mdoc/Fo/nohead.out_markdown b/regress/mdoc/Fo/nohead.out_markdown
new file mode 100644 (file)
index 0000000..28e9b7d
--- /dev/null
@@ -0,0 +1,13 @@
+FO-NOHEAD(1) - General Commands Manual
+
+# NAME
+
+**Fo-nohead** - function block macro without head argument
+
+# DESCRIPTION
+
+initial text
+*int*(*int*)
+final text
+
+OpenBSD - February 5, 2015
diff --git a/regress/mdoc/Fo/obsolete.out_markdown b/regress/mdoc/Fo/obsolete.out_markdown
new file mode 100644 (file)
index 0000000..be3e7f1
--- /dev/null
@@ -0,0 +1,15 @@
+FO-OBSOLETE(1) - General Commands Manual
+
+# NAME
+
+**Fo-obsolete** - obsolete function macros
+
+# DESCRIPTION
+
+old function type
+*fortran*
+
+function return value
+*value*
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Fo/punct.out_markdown b/regress/mdoc/Fo/punct.out_markdown
new file mode 100644 (file)
index 0000000..3128aee
--- /dev/null
@@ -0,0 +1,12 @@
+FO-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Fo-punct** - punctuation on function name input lines
+
+# DESCRIPTION
+
+*double*
+**sin**(), cos
+
+OpenBSD - November 20, 2014
diff --git a/regress/mdoc/Fo/section.out_markdown b/regress/mdoc/Fo/section.out_markdown
new file mode 100644 (file)
index 0000000..10d3dbb
--- /dev/null
@@ -0,0 +1,114 @@
+FN-SECTION(3) - Library Functions Manual
+
+# NAME
+
+**Fn-section** - special handling of Fn in various sections
+
+# SYNOPSIS
+
+*int*  
+**abs**(*int j*);
+
+*double*  
+**sin**(*double x*);
+
+# DESCRIPTION
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# RETURN VALUES
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# ENVIRONMENT
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# FILES
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# EXAMPLES
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# DIAGNOSTICS
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# ERRORS
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# SEE ALSO
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# STANDARDS
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# HISTORY
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# AUTHORS
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# CAVEATS
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# BUGS
+
+*int*
+**abs**(*int j*)
+*double*
+**sin**(*double x*)
+
+# CUSTOM
+
+*int*  
+**abs**(*int j*);
+
+*double*  
+**sin**(*double x*);
+
+OpenBSD - April 7, 2010
diff --git a/regress/mdoc/Fo/warn.out_markdown b/regress/mdoc/Fo/warn.out_markdown
new file mode 100644 (file)
index 0000000..d27be5b
--- /dev/null
@@ -0,0 +1,15 @@
+FO-WARN(1) - General Commands Manual
+
+# NAME
+
+**Fo-warn** - warnings related to function blocks
+
+# SYNOPSIS
+
+*double*  
+**sin()**(*double x*);
+
+*double*  
+**atan2**(*double y, double x*);
+
+OpenBSD - October 11, 2014
index 915e456c3544e89a146f33f656cafaf71d4c1ffa..f1ebeedf7d7fd50fcab38e5077548c8dcc401cb2 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.1 2012/07/09 17:52:09 schwarze Exp $
 
 REGRESS_TARGETS = font
+MARKDOWN_TARGETS = font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ft/font.out_markdown b/regress/mdoc/Ft/font.out_markdown
new file mode 100644 (file)
index 0000000..658bf4f
--- /dev/null
@@ -0,0 +1,13 @@
+FT-FONT(1) - General Commands Manual
+
+# NAME
+
+**Ft-font** - changing fonts inside the function return type macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
index 1be2a84aeb4ec5940b0b28f617f249ef7e8f80d6..e13130c15f75c0ce7dc2e32f447752c69f3edae6 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ic/font.out_markdown b/regress/mdoc/Ic/font.out_markdown
new file mode 100644 (file)
index 0000000..d8e8101
--- /dev/null
@@ -0,0 +1,13 @@
+IC-FONT(1) - General Commands Manual
+
+# NAME
+
+**Ic-font** - changing fonts inside the internal command macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Ic/noarg.out_markdown b/regress/mdoc/Ic/noarg.out_markdown
new file mode 100644 (file)
index 0000000..de7e614
--- /dev/null
@@ -0,0 +1,14 @@
+IC-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Ic-noarg** - interactive command without an argument
+
+# DESCRIPTION
+
+with command:
+**ls**
+no command:
+end of test document
+
+OpenBSD - January 19, 2011
index 790827bbcfa57de33e864888186be4d26f3a4d4e..1c8a484f78fcc360680b0e8cc5abc13fe8f7bf62 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS         = break eos font noarg
 LINT_TARGETS    = noarg
+MARKDOWN_TARGETS = eos font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/In/eos.out_markdown b/regress/mdoc/In/eos.out_markdown
new file mode 100644 (file)
index 0000000..0597be7
--- /dev/null
@@ -0,0 +1,13 @@
+IN-EOS(1) - General Commands Manual
+
+# NAME
+
+**In-eos** - end of sentence handling after the include macro
+
+# DESCRIPTION
+
+Let's use
+&lt;*string.h*>.
+And then something else.
+
+OpenBSD - November 16, 2012
diff --git a/regress/mdoc/In/font.out_markdown b/regress/mdoc/In/font.out_markdown
new file mode 100644 (file)
index 0000000..e007a01
--- /dev/null
@@ -0,0 +1,13 @@
+IN-FONT(2) - System Calls Manual
+
+# NAME
+
+**In-font** - changing the font inside the include macro
+
+# DESCRIPTION
+
+normal text
+&lt;*prefix**header**suffix*>
+trailing text
+
+OpenBSD - July 9, 2012
index 952e0881d6a6a257e275487e221b22365496e29c..4fae0494f3a7c51346a7b2af992378f2c00001fe 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = break badargs eos
 LINT_TARGETS   = badargs
+MARKDOWN_TARGETS = break badargs eos
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Lb/badargs.out_markdown b/regress/mdoc/Lb/badargs.out_markdown
new file mode 100644 (file)
index 0000000..132b2f9
--- /dev/null
@@ -0,0 +1,12 @@
+LB-BADARGS(3) - Library Functions Manual
+
+# NAME
+
+**Lb-badargs** - bad arguments to the library macro
+
+# LIBRARY
+
+library &#8220;murks&#8221;  
+library &#8220;mylib&#8221; another
+
+OpenBSD - January 2, 2011
diff --git a/regress/mdoc/Lb/break.out_markdown b/regress/mdoc/Lb/break.out_markdown
new file mode 100644 (file)
index 0000000..0eacb25
--- /dev/null
@@ -0,0 +1,17 @@
+LB-BREAK(3) - Library Functions Manual
+
+# NAME
+
+**Lb-break** - output line breaks after the library macro
+
+# LIBRARY
+
+library &#8220;mylib&#8221;  
+text
+
+# DESCRIPTION
+
+library &#8220;mylib&#8221;
+text
+
+OpenBSD - June 30, 2010
diff --git a/regress/mdoc/Lb/eos.out_markdown b/regress/mdoc/Lb/eos.out_markdown
new file mode 100644 (file)
index 0000000..6ee5b08
--- /dev/null
@@ -0,0 +1,13 @@
+LB-EOS(1) - General Commands Manual
+
+# NAME
+
+**Lb-eos** - end of sentence handling after the library macro
+
+# DESCRIPTION
+
+Let's use the
+library &#8220;mylib&#8221;.
+And some other libraries.
+
+OpenBSD - November 17, 2012
index f5afd19956d7efadba072297d1addd4e65fef7b6..1e1a4b931d82dcfd0f4390b0f015f2e5fe09ea02 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = punct font
 LINT_TARGETS   = punct
+MARKDOWN_TARGETS = punct font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Li/font.out_markdown b/regress/mdoc/Li/font.out_markdown
new file mode 100644 (file)
index 0000000..d0ce39d
--- /dev/null
@@ -0,0 +1,13 @@
+LI-FONT(1) - General Commands Manual
+
+# NAME
+
+**Li-font** - changing fonts inside the literal in-line macro
+
+# DESCRIPTION
+
+normal text
+`literal*emphasis*back`
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Li/punct.out_markdown b/regress/mdoc/Li/punct.out_markdown
new file mode 100644 (file)
index 0000000..fcfc83b
--- /dev/null
@@ -0,0 +1,86 @@
+LI-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Li-punct** - punctuation following a literal macro
+
+# DESCRIPTION
+
+Leading punctuation:
+(`b`
+\[`b`
+| `b`
+. `b`
+, `b`
+; `b`
+: `b`
+? `b`
+! `b`
+) `b`
+] `b`
+
+Trailing punctuation:
+`a` (
+`a` \[
+`a` |
+`a`.
+`a`,
+`a`;
+`a`:
+`a`?
+`a`!
+`a`)
+`a`]
+
+Middle punctuation:
+`a` (`b`
+`a` \[`b`
+`a` | `b`
+`a`. `b`
+`a`, `b`
+`a`; `b`
+`a`: `b`
+`a`? `b`
+`a`! `b`
+`a`) `b`
+`a`] `b`
+
+Isolated punctuation:
+`a` (`b`
+`a` \[`b`
+`a` | `b`
+`a` . `b`
+`a` , `b`
+`a` ; `b`
+`a` : `b`
+`a` ? `b`
+`a` ! `b`
+`a` ) `b`
+`a` ] `b`
+
+Isolated trailing punctuation:
+`a` (
+`a` \[
+`a` |
+`a` .
+`a` ,
+`a` ;
+`a` :
+`a` ?
+`a` !
+`a` )
+`a` ]
+
+Multiple isolated punctuation:
+`a` (\[`b`
+`a` )] `b`
+
+Multiple punctuation:
+\[(`arg`)].
+
+Quoted:
+`a . b Nm`
+`. b Nm`
+`.`
+
+OpenBSD - November 17, 2014
index d9cbbe9539da9835c267bbec51f65dd7aa3922bc..cb4ead51700355c4a44fb68ca5d3a4a02ae10995 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = link noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = link noarg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Lk/link.out_markdown b/regress/mdoc/Lk/link.out_markdown
new file mode 100644 (file)
index 0000000..05a0156
--- /dev/null
@@ -0,0 +1,21 @@
+LK-LINK(1) - General Commands Manual
+
+# NAME
+
+**Lk-link** - formatting of hyperlinks
+
+# DESCRIPTION
+
+Here are some web sites of BSD operating systems:
+[FreeBSD](http://www.freebsd.org/)
+[NetBSD](http://www.netbsd.org/)
+[OpenBSD](http://www.openbsd.org/)
+
+# SEE ALSO
+
+Here are some web sites of BSD operating systems:
+[FreeBSD](http://www.freebsd.org/)
+[NetBSD](http://www.netbsd.org/)
+[OpenBSD](http://www.openbsd.org/)
+
+OpenBSD - August 8, 2010
diff --git a/regress/mdoc/Lk/noarg.out_markdown b/regress/mdoc/Lk/noarg.out_markdown
new file mode 100644 (file)
index 0000000..f27e089
--- /dev/null
@@ -0,0 +1,16 @@
+LK-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Lk-noarg** - hyperlink macro without arguments
+
+# DESCRIPTION
+
+two arguments
+[mandoc](http://mdocml.bsd.lv/)
+one argument
+<http://www.openbsd.org/>
+no argument
+end of test document
+
+OpenBSD - January 19, 2011
index 1be2a84aeb4ec5940b0b28f617f249ef7e8f80d6..e13130c15f75c0ce7dc2e32f447752c69f3edae6 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ms/font.out_markdown b/regress/mdoc/Ms/font.out_markdown
new file mode 100644 (file)
index 0000000..7b04400
--- /dev/null
@@ -0,0 +1,13 @@
+MS-FONT(1) - General Commands Manual
+
+# NAME
+
+**Ms-font** - changing fonts inside the mathematical symbol macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back** | **after**: **punctuation**
+trailing text
+
+OpenBSD - November 20, 2014
diff --git a/regress/mdoc/Ms/noarg.out_markdown b/regress/mdoc/Ms/noarg.out_markdown
new file mode 100644 (file)
index 0000000..5146653
--- /dev/null
@@ -0,0 +1,14 @@
+MS-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Ms-noarg** - mathematical symbol without an argument
+
+# DESCRIPTION
+
+with command:
+**alpha**
+no command:
+end of test document
+
+OpenBSD - January 19, 2011
index 34cbbe191296d3e862b1278226f6d31a5cb2db1a..b1dfaa90d0cce6454e2cd9183e9fbff4ee8e7cdc 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.5 2012/07/09 17:52:09 schwarze Exp $
 
 REGRESS_TARGETS = simple font
+MARKDOWN_TARGETS = simple
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Mt/simple.out_markdown b/regress/mdoc/Mt/simple.out_markdown
new file mode 100644 (file)
index 0000000..0b85b45
--- /dev/null
@@ -0,0 +1,15 @@
+MT-SIMPLE(1) - General Commands Manual
+
+# NAME
+
+**Mt-simple** - mailto
+
+# DESCRIPTION
+
+Please send mail to
+<schwarze@openbsd.org>.
+
+Do not send mail to
+<~>.
+
+OpenBSD - February 17, 2010
index d67804c44a61761f555b2a8f288f3900901595d0..d2f6e4b8fee4bf583638de36c25f79d5fcdc91bc 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS         = broken hyph noarg par
 LINT_TARGETS    = broken noarg
+MARKDOWN_TARGETS = hyph noarg par
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Nd/hyph.out_markdown b/regress/mdoc/Nd/hyph.out_markdown
new file mode 100644 (file)
index 0000000..c3153de
--- /dev/null
@@ -0,0 +1,13 @@
+ND-HYPH(1) - General Commands Manual
+
+# NAME
+
+**Nd-hyph** - when there is already a hyphen within the the word, line-breaking is permitted at that place
+
+# DESCRIPTION
+
+Even in the document description line in the
+*NAME*
+section.
+
+OpenBSD - October 5, 2013
diff --git a/regress/mdoc/Nd/noarg.out_markdown b/regress/mdoc/Nd/noarg.out_markdown
new file mode 100644 (file)
index 0000000..567b7c4
--- /dev/null
@@ -0,0 +1,11 @@
+ND-ARG0(1) - General Commands Manual
+
+# NAME
+
+**Nd-arg0** -
+
+# DESCRIPTION
+
+empty description line
+
+OpenBSD - January 2, 2011
diff --git a/regress/mdoc/Nd/par.out_markdown b/regress/mdoc/Nd/par.out_markdown
new file mode 100644 (file)
index 0000000..e6a2542
--- /dev/null
@@ -0,0 +1,17 @@
+ND-PAR(1) - General Commands Manual
+
+# NAME
+
+**Nd-par** - paragraph macro
+after one-line description
+
+Usually, there shouldn't be additional text in the NAME section.
+
+# DESCRIPTION
+
+The text belongs here. - stray
+description macro
+
+Back to normal state.
+
+OpenBSD - February 3, 2015
index 2b5a5b8318265fc3297c78012354618836883bfb..515f9e5d6610ce65f70e623be0e5c00a67e4f1c2 100644 (file)
@@ -6,6 +6,9 @@ REGRESS_TARGETS += font long par parns punct
 
 LINT_TARGETS    = badNAME badNAMEuse break broken
 
+MARKDOWN_TARGETS  = break broken empty
+MARKDOWN_TARGETS += font long par parns punct
+
 # groff-1.22.3/mandoc differences:
 # - When the head of an Nm block in the SYNOPSIS is broken by an
 #   explicit block end macro on the same line, formatting differs,
diff --git a/regress/mdoc/Nm/break.out_markdown b/regress/mdoc/Nm/break.out_markdown
new file mode 100644 (file)
index 0000000..686c234
--- /dev/null
@@ -0,0 +1,17 @@
+NM-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Nm-break** - name block head breaking another block
+
+# SYNOPSIS
+
+**before&nbsp;\[within]**
+
+# DESCRIPTION
+
+initial text
+**Nm-break**
+final text
+
+OpenBSD - August 17, 2014
diff --git a/regress/mdoc/Nm/broken.out_markdown b/regress/mdoc/Nm/broken.out_markdown
new file mode 100644 (file)
index 0000000..cb67464
--- /dev/null
@@ -0,0 +1,19 @@
+NM-BROKEN(1) - General Commands Manual
+
+# NAME
+
+**Nm-broken** - broken synapsis name block
+
+# SYNOPSIS
+
+*int*  
+**function**(**name**);
+
+tail
+\[oo  
+**nm**
+oc]
+
+-      item
+
+OpenBSD - February 11, 2017
diff --git a/regress/mdoc/Nm/empty.out_markdown b/regress/mdoc/Nm/empty.out_markdown
new file mode 100644 (file)
index 0000000..102b16c
--- /dev/null
@@ -0,0 +1,18 @@
+NM-EMPTY(2) - System Calls Manual
+
+# NAME
+
+**Nm-empty** - handling of empty name macros
+
+# SYNOPSIS
+
+**Nm-empty**  
+**Nm-empty**
+
+# DESCRIPTION
+
+The
+**Nm-empty**
+utility ...
+
+OpenBSD - June 30, 2010
diff --git a/regress/mdoc/Nm/font.out_markdown b/regress/mdoc/Nm/font.out_markdown
new file mode 100644 (file)
index 0000000..1425fb5
--- /dev/null
@@ -0,0 +1,13 @@
+NM-FONT(1) - General Commands Manual
+
+# NAME
+
+**Nm-font** - changing fonts inside the name macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Nm/long.out_markdown b/regress/mdoc/Nm/long.out_markdown
new file mode 100644 (file)
index 0000000..a421f06
--- /dev/null
@@ -0,0 +1,13 @@
+NM-LONG(1) - General Commands Manual
+
+# NAME
+
+**Nm-long** - long Nm in the SYNOPSIS
+
+# SYNOPSIS
+
+**This is a terribly long name, it is so long that it does not fit one one single line -**
+**-o**
+*file&nbsp;...*
+
+OpenBSD - April 4, 2014
diff --git a/regress/mdoc/Nm/par.out_markdown b/regress/mdoc/Nm/par.out_markdown
new file mode 100644 (file)
index 0000000..c2a355d
--- /dev/null
@@ -0,0 +1,14 @@
+NM-PAR(1) - General Commands Manual
+
+# NAME
+
+**Nm-par** - paragraph macro in a synopsis name block
+
+# SYNOPSIS
+
+**Nm-par**
+**-a**
+
+**-b**
+
+OpenBSD - February 3, 2015
diff --git a/regress/mdoc/Nm/parns.out_markdown b/regress/mdoc/Nm/parns.out_markdown
new file mode 100644 (file)
index 0000000..43b9659
--- /dev/null
@@ -0,0 +1,22 @@
+NM-PAR(1) - General Commands Manual
+
+# NAME
+
+**Nm-par** - paragraph macro in a name block
+
+# DESCRIPTION
+
+**Nm-par**
+**-a**
+
+**-b**  
+**Nm-par**
+**-a**
+
+**-b**  
+**Nm-par**
+\[**-a**
+
+**-b**]
+
+OpenBSD - February 3, 2015
diff --git a/regress/mdoc/Nm/punct.out_markdown b/regress/mdoc/Nm/punct.out_markdown
new file mode 100644 (file)
index 0000000..ad84824
--- /dev/null
@@ -0,0 +1,42 @@
+NM-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Nm-punct** - punctuation handling by the Nm macro
+
+# DESCRIPTION
+
+closing punctuation
+**a**)
+only one
+**Nm-punct**)
+only more than one
+**Nm-punct**))
+middle
+**a**) **z**
+start
+**Nm-punct**) z
+dot
+**Nm-punct**. z
+comma
+**Nm-punct**, z
+semicolon
+**Nm-punct**; z
+colon
+**Nm-punct**: z
+quest
+**Nm-punct**? z
+excl
+**Nm-punct**! z
+paren
+**Nm-punct**) z
+bracket
+**Nm-punct**] z
+bar
+| **m**
+op paren
+(**a**
+op bracket
+\[**a**
+
+OpenBSD - August 21, 2014
index 3110bf2b06d6963c258d58514d554c674a50d6f0..886130797705ee7afbffef65174fa02b22fd2c42 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = punct spacing
 LINT_TARGETS   = punct
+MARKDOWN_TARGETS = punct spacing
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/No/punct.out_markdown b/regress/mdoc/No/punct.out_markdown
new file mode 100644 (file)
index 0000000..6861d21
--- /dev/null
@@ -0,0 +1,86 @@
+NO-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**No-punct** - punctuation after the normal macro
+
+# DESCRIPTION
+
+Leading punctuation:
+(b
+\[b
+| b
+. b
+, b
+; b
+: b
+? b
+! b
+) b
+] b
+
+Trailing punctuation:
+a (
+a \[
+a |
+a.
+a,
+a;
+a:
+a?
+a!
+a)
+a]
+
+Middle punctuation:
+a (b
+a \[b
+a | b
+a. b
+a, b
+a; b
+a: b
+a? b
+a! b
+a) b
+a] b
+
+Isolated punctuation:
+a (b
+a \[b
+a | b
+a . b
+a , b
+a ; b
+a : b
+a ? b
+a ! b
+a ) b
+a ] b
+
+Isolated trailing punctuation:
+a (
+a \[
+a |
+a .
+a ,
+a ;
+a :
+a ?
+a !
+a )
+a ]
+
+Multiple isolated punctuation:
+a (\[b
+a )] b
+
+Multiple punctuation:
+\[(arg)].
+
+Quoted:
+a . b Nm
+. b Nm
+.
+
+OpenBSD - November 17, 2014
diff --git a/regress/mdoc/No/spacing.out_markdown b/regress/mdoc/No/spacing.out_markdown
new file mode 100644 (file)
index 0000000..442a054
--- /dev/null
@@ -0,0 +1,27 @@
+NO-SPACING(1) - General Commands Manual
+
+# NAME
+
+**No-spacing** - spacing around the normal macro
+
+# DESCRIPTION
+
+Text before
+and
+after the macro.
+Macros on the line
+\[before]
+and
+\[after]
+the macro.
+Macros
+*before* and *after*
+the macro on the same line.
+Punctuation before (
+and
+) after the macro.
+The macro
+\[in]
+an enclosure.
+
+OpenBSD - October 1, 2010
index 45db66cc5ebc1cd43863cbf271fc2663ea5d45b9..ea798c05ddf60054514160c17d4d6b44ede2e5db 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = position punct
 LINT_TARGETS   = position
+MARKDOWN_TARGETS = position punct
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ns/position.out_markdown b/regress/mdoc/Ns/position.out_markdown
new file mode 100644 (file)
index 0000000..14414a3
--- /dev/null
@@ -0,0 +1,29 @@
+NS-POSITION(1) - General Commands Manual
+
+# NAME
+
+**Ns-position** - effect of the position of the no space macro on the line
+
+# DESCRIPTION
+
+At the beginning of a macro line:
+\[before]
+\[after]
+
+After just a block closing macro:
+\[before]\[after]
+
+After some macro and a block closing:
+\[before
+still before]\[after]
+
+In the middle of a macro line:
+\[before]\[after]
+
+At the end of a macro line:
+\[before]\[after]
+
+At the end of partial implicit:
+\[before]\[after]
+
+OpenBSD - September 15, 2013
diff --git a/regress/mdoc/Ns/punct.out_markdown b/regress/mdoc/Ns/punct.out_markdown
new file mode 100644 (file)
index 0000000..92a02c2
--- /dev/null
@@ -0,0 +1,16 @@
+NS-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Ns-punct** - punctuation after the no space macro
+
+# DESCRIPTION
+
+Normal words:
+nons no
+Opening punctuation:
+no(ns no
+Closing punctuation:
+nons) no
+
+OpenBSD - October 1, 2010
index 086f9bdfc9e1157a08c5f27a1e2dd4521ac57bf9..06f0dec804de56618e507b784d1525114837e4b4 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.1 2012/07/07 14:10:55 schwarze Exp $
 
-REGRESS_TARGETS=punct
+REGRESS_TARGETS  = punct
+MARKDOWN_TARGETS = punct
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Oo/punct.out_markdown b/regress/mdoc/Oo/punct.out_markdown
new file mode 100644 (file)
index 0000000..befa71f
--- /dev/null
@@ -0,0 +1,23 @@
+OO-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Oo-punct** - punctuation handling by the Oo macro
+
+# DESCRIPTION
+
+at the beginning:
+(\[z
+\[| z
+\[. z]]]
+
+in the middle:
+\[a (z
+\[a | z
+\[a. z]]]
+
+at the end:
+\[\[a (]
+|]
+
+OpenBSD - July 6, 2012
index ab934a4e1302ec3b42d1be099fccb20e354e823e..2f3eeafbf5fa9cccdec9f9b8cb6cefd2ca226141 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS        = break broken punct
 LINT_TARGETS   = break broken
+MARKDOWN_TARGETS = break broken punct
 
 SKIP_GROFF     = break
 SKIP_ASCII     = break
diff --git a/regress/mdoc/Op/break.out_markdown b/regress/mdoc/Op/break.out_markdown
new file mode 100644 (file)
index 0000000..edf3435
--- /dev/null
@@ -0,0 +1,19 @@
+OP-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Op-break** - partial explicit block broken by partial implicit block
+
+# DESCRIPTION
+
+before both
+\[inside first "inside both]
+inside second"
+after both
+
+0
+\[1 \[12 "123]]
+3"
+0
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Op/broken.out_markdown b/regress/mdoc/Op/broken.out_markdown
new file mode 100644 (file)
index 0000000..13a5014
--- /dev/null
@@ -0,0 +1,19 @@
+OP-BROKEN(1) - General Commands Manual
+
+# NAME
+
+**Op-broken** - partial implicit block broken by partial explicit block
+
+# DESCRIPTION
+
+before both
+"inside first
+\[inside both" inside second]
+after both
+
+0
+"1
+\[12 \[123" 23]]
+0
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Op/punct.out_markdown b/regress/mdoc/Op/punct.out_markdown
new file mode 100644 (file)
index 0000000..114bd7a
--- /dev/null
@@ -0,0 +1,34 @@
+OP-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Op-punct** - punctuation handling by the Op macro
+
+# DESCRIPTION
+
+at the beginning:
+(\[z]
+\[| z]
+\[. z]
+
+in the middle:
+\[a (z]
+\[a | z]
+\[a. z]
+
+at the end:
+\[a (]
+\[a |]
+\[a].
+
+punctuation only:
+(\[]
+\[|]
+\[].
+
+more than one:
+((\[]
+\[| |]
+\[]..
+
+OpenBSD - June 24, 2011
index d228b09d1f7867db5355a9f318d0cda005ccd561..bef971bf48fecc0285fbbf5e97e7c5f1ab306b65 100644 (file)
@@ -2,6 +2,8 @@
 
 REGRESS_TARGETS         = dupe late long missing
 LINT_TARGETS    = dupe late missing
+MARKDOWN_TARGETS = dupe late long missing
+
 SKIP_GROFF      = long
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Os/dupe.out_markdown b/regress/mdoc/Os/dupe.out_markdown
new file mode 100644 (file)
index 0000000..48556e3
--- /dev/null
@@ -0,0 +1,12 @@
+OS-DUPE(1) - General Commands Manual
+
+# NAME
+
+**Os-dupe** - repeated operating system macros
+
+# DESCRIPTION
+
+initial text
+final text
+
+OpenBSD - June 18, 2014
diff --git a/regress/mdoc/Os/late.out_markdown b/regress/mdoc/Os/late.out_markdown
new file mode 100644 (file)
index 0000000..593a838
--- /dev/null
@@ -0,0 +1,12 @@
+OS-LATE(1) - General Commands Manual
+
+# NAME
+
+**Os-late** - late operating system macro
+
+# DESCRIPTION
+
+initial text
+final text
+
+OpenBSD - August 5, 2014
diff --git a/regress/mdoc/Os/long.out_markdown b/regress/mdoc/Os/long.out_markdown
new file mode 100644 (file)
index 0000000..0f14493
--- /dev/null
@@ -0,0 +1,11 @@
+OS-LONG(1) - General Commands Manual
+
+# NAME
+
+**Os-long** - long operating system string
+
+# DESCRIPTION
+
+some text
+
+1234567890123456789012345678901234567890123456789012345678901234567890123456789 - November 20, 2014
diff --git a/regress/mdoc/Os/missing.out_markdown b/regress/mdoc/Os/missing.out_markdown
new file mode 100644 (file)
index 0000000..ae2ee49
--- /dev/null
@@ -0,0 +1,11 @@
+OS-MISSING(1) - General Commands Manual
+
+# NAME
+
+**Os-missing** - operating system macro missing in prologue
+
+# DESCRIPTION
+
+some text
+
+ \- August 5, 2014
index 7f532eb1e830002a761ce5a1feb20963275ee424..44c7d855402e93e0cc3b7bfa0efdd538a6f46b46 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.3 2012/07/18 16:55:54 schwarze Exp $
 
-REGRESS_TARGETS = keep
+REGRESS_TARGETS         = keep
+MARKDOWN_TARGETS = keep
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ox/keep.out_markdown b/regress/mdoc/Ox/keep.out_markdown
new file mode 100644 (file)
index 0000000..52e7c2b
--- /dev/null
@@ -0,0 +1,12 @@
+OX-KEEP(1) - General Commands Manual
+
+# NAME
+
+**Ox-keep** - interaction of unix variant macros and word keeps
+
+# DESCRIPTION
+
+Because we use a keep,
+OpenBSD&nbsp;4.9&nbsp;must&nbsp;be&nbsp;at&nbsp;the&nbsp;beginning&nbsp;of&nbsp;a&nbsp;new&nbsp;line.
+
+OpenBSD - January 30, 2011
index 5f939fd3ea076e85848588b67e13f8b0e2e243d4..1c9cadc7d7e3b38dcbdce307f20a751a9feacaa4 100644 (file)
@@ -1,6 +1,7 @@
 # $OpenBSD: Makefile,v 1.4 2014/08/21 12:56:24 schwarze Exp $
 
 REGRESS_TARGETS        = font punct
+MARKDOWN_TARGETS = font punct
 
 # XXX The FILES target doesn't currently work.
 
diff --git a/regress/mdoc/Pa/font.out_markdown b/regress/mdoc/Pa/font.out_markdown
new file mode 100644 (file)
index 0000000..0278fd9
--- /dev/null
@@ -0,0 +1,13 @@
+PA-FONT(1) - General Commands Manual
+
+# NAME
+
+**Pa-font** - changing fonts inside the path macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Pa/punct.out_markdown b/regress/mdoc/Pa/punct.out_markdown
new file mode 100644 (file)
index 0000000..e7b0503
--- /dev/null
@@ -0,0 +1,42 @@
+PA-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Pa-punct** - punctuation handling by the Pa macro
+
+# DESCRIPTION
+
+closing punctuation
+*a*)
+only one
+*~*)
+only more than one
+*~*))
+middle
+*a*) *z*
+start
+*~*) *z*
+dot
+*~*. *z*
+comma
+*~*, *z*
+semicolon
+*~*; *z*
+colon
+*~*: *z*
+quest
+*~*? *z*
+excl
+*~*! *z*
+paren
+*~*) *z*
+bracket
+*~*] *z*
+bar
+| *m*
+op paren
+(*a*
+op bracket
+\[*a*
+
+OpenBSD - August 21, 2014
index c222abf1c3d100ee7b6612d5e6a9678ab2f079f3..7a9c9218a38f7e939e9a870b8bb40e64e00cc194 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = spacing
 LINT_TARGETS   = spacing
+MARKDOWN_TARGETS = spacing
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Pf/spacing.out_markdown b/regress/mdoc/Pf/spacing.out_markdown
new file mode 100644 (file)
index 0000000..5234971
--- /dev/null
@@ -0,0 +1,34 @@
+PF-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Pf-spacing** - spacing around the prefix macro
+
+# DESCRIPTION
+
+Closing punctuation goes
+.right.
+But
+.. double
+prefixes don't work.
+Opening punctuation goes
+(left.
+But again, prefix
+() pairs
+don't work.
+Even normal text gets
+prefixed.
+The first
+Argument
+is not parsed.
+Nothing can be
+prefixed
+to the next line.
+Trailing punctuation still counts as
+*eos* .
+(But it does not fall out of enclosures .)
+
+It makes no sense at the very
+*end*
+
+OpenBSD - November 30, 2014
index 04e1bc3b394dab0f97bff0bf7af3e0ebdbbc4ee8..c51ed473a5cf036175bdb92552753b87f5f56a40 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS         = arg
 LINT_TARGETS    = arg
+MARKDOWN_TARGETS = arg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Pp/arg.out_markdown b/regress/mdoc/Pp/arg.out_markdown
new file mode 100644 (file)
index 0000000..290c3e0
--- /dev/null
@@ -0,0 +1,16 @@
+PP-ARG(1) - General Commands Manual
+
+# NAME
+
+**Pp-arg** - paragraph macro with arguments
+
+# DESCRIPTION
+
+line 1
+
+line 2  
+line 3
+
+line 4
+
+OpenBSD - February 4, 2015
index 24f19edf6afc4b2e939edc1448f039233dd3716b..9068940e311577d42c9ee95a72abbacd0c20685b 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
 
-REGRESS_TARGETS=empty
+REGRESS_TARGETS         = empty
+MARKDOWN_TARGETS = empty
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Qq/empty.out_markdown b/regress/mdoc/Qq/empty.out_markdown
new file mode 100644 (file)
index 0000000..262ae04
--- /dev/null
@@ -0,0 +1,17 @@
+QQ-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Qq-empty** - empty implicit enclosure macros
+
+# DESCRIPTION
+
+An empty
+""
+and a full
+"user@host"
+quotation.
+And another
+"full" one.
+
+OpenBSD - October 21, 2010
index 3732dc0a8be7021920a260e0d1bb070046474896..374b386a72ff2406b907bfe4cc6501c71f1433fd 100644 (file)
@@ -3,6 +3,7 @@
 REGRESS_TARGETS         = allch args break empty three_authors
 UTF8_TARGETS    = allch break empty three_authors
 LINT_TARGETS    = allch args empty
+MARKDOWN_TARGETS = allch args break empty three_authors
 
 # groff-1.22.3 defect:
 # - arguments after .Rs cause the macro to be ignored
diff --git a/regress/mdoc/Rs/allch.out_markdown b/regress/mdoc/Rs/allch.out_markdown
new file mode 100644 (file)
index 0000000..7faac2a
--- /dev/null
@@ -0,0 +1,50 @@
+RS-ALLCH(1) - General Commands Manual
+
+# NAME
+
+**Rs-allch** - reference block using all supported child macros
+
+# DESCRIPTION
+
+reference on the same line:
+some
+*bogus*
+text
+author name,
+"title of article",
+*book title*,
+*issuer name*,
+*journal name*,
+report name,
+number of journal,
+volume number,
+uniform resource locator,
+page number,
+institutional author,
+city name,
+date of publication,
+optional information.
+
+# SEE ALSO
+
+reference after a blank line:
+
+some
+*bogus*
+text
+author name,
+"title of article",
+*book title*,
+*issuer name*,
+*journal name*,
+report name,
+number of journal,
+volume number,
+uniform resource locator,
+page number,
+institutional author,
+city name,
+date of publication,
+optional information.
+
+OpenBSD - July 7, 2014
diff --git a/regress/mdoc/Rs/args.out_markdown b/regress/mdoc/Rs/args.out_markdown
new file mode 100644 (file)
index 0000000..a9416b3
--- /dev/null
@@ -0,0 +1,19 @@
+RS-ARGS(1) - General Commands Manual
+
+# NAME
+
+**Rs-args** - arguments on a reference block header line
+
+# SEE ALSO
+
+initial text
+
+author name,
+*book title*.
+middle text
+
+author name,
+*book title*.
+final text
+
+OpenBSD - February 4, 2015
diff --git a/regress/mdoc/Rs/break.out_markdown b/regress/mdoc/Rs/break.out_markdown
new file mode 100644 (file)
index 0000000..361f5bf
--- /dev/null
@@ -0,0 +1,30 @@
+RS-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Rs-break** - line break before reference start
+
+# DESCRIPTION
+
+reference on the same line:
+author,
+*journal*,
+42\.
+
+# SEE ALSO
+
+reference after a blank line:
+
+author,
+*journal*,
+42\.
+
+# SEE *ALSO*
+
+reference after a blank line:
+
+author,
+*journal*,
+42\.
+
+OpenBSD - April 15, 2014
diff --git a/regress/mdoc/Rs/empty.out_markdown b/regress/mdoc/Rs/empty.out_markdown
new file mode 100644 (file)
index 0000000..9c8ff4a
--- /dev/null
@@ -0,0 +1,18 @@
+RS-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Rs-empty** - empty reference blocks
+
+# DESCRIPTION
+
+initial text
+final text
+
+# SEE ALSO
+
+initial text
+
+final text
+
+OpenBSD - February 4, 2015
diff --git a/regress/mdoc/Rs/three_authors.out_markdown b/regress/mdoc/Rs/three_authors.out_markdown
new file mode 100644 (file)
index 0000000..66456f3
--- /dev/null
@@ -0,0 +1,14 @@
+RS-THREE\_AUTHORS(1) - General Commands Manual
+
+# NAME
+
+**Rs-three\_authors** - listing three authors in a reference block
+
+# AUTHORS
+
+kristaps,
+joerg, and
+ingo,
+*mandoc*.
+
+OpenBSD - May 1, 2009
index 238982a32d9079d61359435f4f11b4a7e015184a..60fb1de7876b15361ee17561bf7258d3295a8be7 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS         = args noname nostd
 LINT_TARGETS    = noname nostd
+MARKDOWN_TARGETS = args nostd
 
 # groff-1.22.2 defect:
 # - .Rv without -std produces no output
diff --git a/regress/mdoc/Rv/args.out_markdown b/regress/mdoc/Rv/args.out_markdown
new file mode 100644 (file)
index 0000000..017f9b6
--- /dev/null
@@ -0,0 +1,18 @@
+RV-ARGS(3) - Library Functions Manual
+
+# NAME
+
+**Rv-args** - arguments to the return value macro
+
+# RETURN VALUES
+
+no arguments:
+Upon successful completion, the value&#160;0 is returned; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+one argument:
+The **one**() function returns the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+two arguments:
+The **one**() and **two**() functions return the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+OpenBSD - July 29, 2014
diff --git a/regress/mdoc/Rv/nostd.out_markdown b/regress/mdoc/Rv/nostd.out_markdown
new file mode 100644 (file)
index 0000000..5600556
--- /dev/null
@@ -0,0 +1,18 @@
+RV-NOSTD(3) - Library Functions Manual
+
+# NAME
+
+**Rv-nostd** - return value macros without -std arguments
+
+# RETURN VALUES
+
+no arguments:
+Upon successful completion, the value&#160;0 is returned; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+one argument:
+The **one**() function returns the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+two arguments:
+The **one**() and **two**() functions return the value&#160;0 if successful; otherwise the value&#160;&#45;1 is returned and the global variable *errno* is set to indicate the error.
+
+OpenBSD - July 29, 2014
index a1db1161c9bc0712888db49ac87a56f9c5033a3b..e60708700c6105c7efb7dea865fb1260b4a76a49 100644 (file)
@@ -4,6 +4,8 @@ REGRESS_TARGETS  = badNAME before empty emptyNAME first nohead order
 REGRESS_TARGETS        += orderNAME punctNAME subbefore
 LINT_TARGETS    = badNAME before empty emptyNAME first nohead order
 LINT_TARGETS   += orderNAME punctNAME subbefore
+MARKDOWN_TARGETS  = badNAME before empty emptyNAME first nohead order
+MARKDOWN_TARGETS += orderNAME punctNAME subbefore
 
 SKIP_GROFF     = subbefore first empty
 SKIP_ASCII     = first
diff --git a/regress/mdoc/Sh/badNAME.out_markdown b/regress/mdoc/Sh/badNAME.out_markdown
new file mode 100644 (file)
index 0000000..449636c
--- /dev/null
@@ -0,0 +1,12 @@
+SH-BADNAME(1) - General Commands Manual
+
+# NAME
+
+*bad NAME section*
+**Sh-badNAME**
+
+# DESCRIPTION
+
+The description appears before the name and is not marked up with Nd.
+
+OpenBSD - July 1, 2014
diff --git a/regress/mdoc/Sh/before.out_markdown b/regress/mdoc/Sh/before.out_markdown
new file mode 100644 (file)
index 0000000..261ebbd
--- /dev/null
@@ -0,0 +1,17 @@
+SH-BEFORE(1) - General Commands Manual
+
+Can
+mandoc(1)
+on
+OpenBSD
+handle this?
+
+# NAME
+
+**Sh-before** - content before the first section header
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - July 7, 2014
diff --git a/regress/mdoc/Sh/empty.out_markdown b/regress/mdoc/Sh/empty.out_markdown
new file mode 100644 (file)
index 0000000..b71fbfa
--- /dev/null
@@ -0,0 +1,15 @@
+SH-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Sh-empty** - empty sections
+
+# SYNOPSIS
+
+# DESCRIPTION
+
+# BUGS
+
+Quite some.
+
+OpenBSD - November 21, 2014
diff --git a/regress/mdoc/Sh/emptyNAME.out_markdown b/regress/mdoc/Sh/emptyNAME.out_markdown
new file mode 100644 (file)
index 0000000..b5cf38a
--- /dev/null
@@ -0,0 +1,9 @@
+SH-EMPTYNAME(1) - General Commands Manual
+
+# NAME
+
+# DESCRIPTION
+
+The NAME section is empty.
+
+OpenBSD - July 1, 2014
diff --git a/regress/mdoc/Sh/first.out_markdown b/regress/mdoc/Sh/first.out_markdown
new file mode 100644 (file)
index 0000000..be7ee5a
--- /dev/null
@@ -0,0 +1,7 @@
+SH-FIRST(1) - General Commands Manual
+
+# DESCRIPTION
+
+The first section is not a NAME section.
+
+OpenBSD - July 1, 2014
diff --git a/regress/mdoc/Sh/nohead.out_markdown b/regress/mdoc/Sh/nohead.out_markdown
new file mode 100644 (file)
index 0000000..4ec6aa8
--- /dev/null
@@ -0,0 +1,13 @@
+SH-NOHEAD(1) - General Commands Manual
+
+# NAME
+
+**Sh-nohead** - sections without header lines
+
+# DESCRIPTION
+
+empty section header:
+empty subsection header:
+text
+
+OpenBSD - February 5, 2015
diff --git a/regress/mdoc/Sh/order.out_markdown b/regress/mdoc/Sh/order.out_markdown
new file mode 100644 (file)
index 0000000..4e3abd1
--- /dev/null
@@ -0,0 +1,19 @@
+SH-ORDER(1) - General Commands Manual
+
+# NAME
+
+**Sh-order** - sections out of conventional order
+
+# DESCRIPTION
+
+some text
+
+# SYNOPSIS
+
+# SYNOPSIS
+
+# ERRORS
+
+*int errno*
+
+OpenBSD - July 1, 2014
diff --git a/regress/mdoc/Sh/orderNAME.out_markdown b/regress/mdoc/Sh/orderNAME.out_markdown
new file mode 100644 (file)
index 0000000..967edbe
--- /dev/null
@@ -0,0 +1,15 @@
+SH-ORDERNAME(1) - General Commands Manual
+
+# NAME
+
+\- name after description in NAME section
+
+## subsection
+
+**Sh-orderNAME**
+
+# DESCRIPTION
+
+The order of Nm and Nd is wrong in the NAME section.
+
+OpenBSD - January 7, 2017
diff --git a/regress/mdoc/Sh/punctNAME.out_markdown b/regress/mdoc/Sh/punctNAME.out_markdown
new file mode 100644 (file)
index 0000000..823868c
--- /dev/null
@@ -0,0 +1,13 @@
+SH-PUNCTNAME(1) - General Commands Manual
+
+# NAME
+
+**Sh-punctNAME**
+**second\_name**;
+**third\_name**, - wrong punctuation in the NAME section
+
+# DESCRIPTION
+
+One comma is missing, and one is misplaced.
+
+OpenBSD - January 7, 2017
diff --git a/regress/mdoc/Sh/subbefore.out_markdown b/regress/mdoc/Sh/subbefore.out_markdown
new file mode 100644 (file)
index 0000000..8c196b3
--- /dev/null
@@ -0,0 +1,19 @@
+SH-SUBBEFORE(1) - General Commands Manual
+
+## Subsection
+
+Can
+mandoc(1)
+on
+OpenBSD
+handle this?
+
+# NAME
+
+**Sh-subbefore** - subsection before the first section header
+
+# DESCRIPTION
+
+some text
+
+OpenBSD - July 30, 2014
index 197b1d7424f362d08ddc3d723caddd2c6dc69d73..a79ee73b224919eeb0128a8315f251ae35462db8 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS        = noarg badarg scope spacing-No spacing-Op twoarg
 LINT_TARGETS   = badarg twoarg
+MARKDOWN_TARGETS = noarg badarg spacing-No spacing-Op twoarg
 
 SKIP_TMAN ?= scope
 
diff --git a/regress/mdoc/Sm/badarg.out_markdown b/regress/mdoc/Sm/badarg.out_markdown
new file mode 100644 (file)
index 0000000..86c8cd6
--- /dev/null
@@ -0,0 +1,14 @@
+SM-BADARG(1) - General Commands Manual
+
+# NAME
+
+**Sm-badarg** - spacing macro with invalid arguments
+
+# DESCRIPTION
+
+**-f** *on*
+**-f**&zwnj;*off* bad
+**-f** *bad* (on)
+bad**-f**&zwnj;*bad*(off)
+
+OpenBSD-July 3, 2014
diff --git a/regress/mdoc/Sm/noarg.out_markdown b/regress/mdoc/Sm/noarg.out_markdown
new file mode 100644 (file)
index 0000000..3b0d089
--- /dev/null
@@ -0,0 +1,18 @@
+SM-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Sm-noarg** - spacing macro without arguments
+
+# DESCRIPTION
+
+**-f** *on*
+**-f**&zwnj;*off*
+**-f** *toggle* (now on)
+**-f** *on*
+**-f**&zwnj;*toggle*(nowoff)
+
+**-f** *on*
+on a new line
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Sm/spacing-No.out_markdown b/regress/mdoc/Sm/spacing-No.out_markdown
new file mode 100644 (file)
index 0000000..b248796
--- /dev/null
@@ -0,0 +1,47 @@
+SM-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Sm-spacing** - basic tests of spacing mode
+
+# SYNOPSIS
+
+**mandoc**
+**-T**&zwnj;*mode*
+*file&nbsp;...*
+
+# DESCRIPTION
+
+text1
+text2 text3
+text4
+
+text1
+text2 text3
+macro4
+
+text1
+macro2macro3
+text4
+
+text1
+macro2macro3
+macro4
+
+macro1
+text2 text3
+text4
+
+macro1
+text2 text3
+macro4
+
+macro1
+macro2macro3
+text4
+
+macro1
+macro2macro3
+macro4
+
+OpenBSD - July 4, 2010
diff --git a/regress/mdoc/Sm/spacing-Op.out_markdown b/regress/mdoc/Sm/spacing-Op.out_markdown
new file mode 100644 (file)
index 0000000..9f4f15a
--- /dev/null
@@ -0,0 +1,49 @@
+SM-SPACING-OP(1) - General Commands Manual
+
+# NAME
+
+**Sm-spacing-Op** - spacing mode, demonstrated using the .Op macro
+
+# SYNOPSIS
+
+**mandoc**
+**-T**&zwnj;*mode*
+*file&nbsp;...*
+
+# DESCRIPTION
+
+text1
+text2 text3
+text4
+
+text1
+text2 text3
+\[macro4]
+
+text1
+\[macro2macro3]
+text4
+
+text1
+\[macro2\[macro3]]
+\[macro4]
+
+\[macro1]
+text2 text3
+text4
+
+\[macro1]
+text2 text3
+\[macro4]
+
+\[macro1]
+\[macro2\[macro3]]
+text4
+
+\[macro1]
+\[macro2\[macro3]]
+\[macro4]
+
+\[macro1]
+
+OpenBSD - July 4, 2010
diff --git a/regress/mdoc/Sm/twoarg.out_markdown b/regress/mdoc/Sm/twoarg.out_markdown
new file mode 100644 (file)
index 0000000..0951e67
--- /dev/null
@@ -0,0 +1,19 @@
+SM-TWOARG(1) - General Commands Manual
+
+# NAME
+
+**Sm-twoarg** - spacing macro with multiple arguments
+
+# DESCRIPTION
+
+**default**:
+**-f** *on*  
+**off two**:
+two**-f**&zwnj;*off*  
+**badtwo**: bad two
+**-f** *off*  
+**on two**:
+two
+**-f** *on*
+
+OpenBSD - November 26, 2014
index 24f19edf6afc4b2e939edc1448f039233dd3716b..d4c41e6e17dc5458e0cd22d085c7255b43605645 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $
 
-REGRESS_TARGETS=empty
+REGRESS_TARGETS  = empty
+MARKDOWN_TARGETS = empty
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Sq/empty.out_markdown b/regress/mdoc/Sq/empty.out_markdown
new file mode 100644 (file)
index 0000000..34a3fcb
--- /dev/null
@@ -0,0 +1,17 @@
+SQ-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Sq-empty** - empty implicit enclosure macros
+
+# DESCRIPTION
+
+An empty
+''
+and a full
+'user@host'
+quotation.
+And another
+'full' one.
+
+OpenBSD - October 21, 2010
index a1bde7e13af339655988e5cc999f20befc6963fb..488467de399f439a0bca71f0f68028bf6609d89f 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS         = badargs call
 LINT_TARGETS    = badargs call
+MARKDOWN_TARGETS = badargs call
 
 # groff-1.22.3 defect:
 # - If the first argument of .St is the name of another macro,
diff --git a/regress/mdoc/St/badargs.out_markdown b/regress/mdoc/St/badargs.out_markdown
new file mode 100644 (file)
index 0000000..12e4785
--- /dev/null
@@ -0,0 +1,21 @@
+ST-INVALID(1) - General Commands Manual
+
+# NAME
+
+**St-invalid** - handling of invalid standard argument
+
+# STANDARDS
+
+valid argument:
+IEEE Std 1003.1-2004 (&#8220;POSIX.1&#8221;)
+
+invalid argument:
+
+no arguments:
+
+two arguments:
+IEEE Std 1003.1-2004 (&#8220;POSIX.1&#8221;) murks
+
+end of file
+
+OpenBSD - June 30, 2010
diff --git a/regress/mdoc/St/call.out_markdown b/regress/mdoc/St/call.out_markdown
new file mode 100644 (file)
index 0000000..4fb19ce
--- /dev/null
@@ -0,0 +1,17 @@
+ST-CALL(1) - General Commands Manual
+
+# NAME
+
+**St-call** - the standard macro calling other macros
+
+# STANDARDS
+
+calling another macro:
+**-called**
+
+valid argument:
+IEEE Std 1003.1-2004 (&#8220;POSIX.1&#8221;)
+
+end of file
+
+OpenBSD - February 10, 2015
index 1be2a84aeb4ec5940b0b28f617f249ef7e8f80d6..e13130c15f75c0ce7dc2e32f447752c69f3edae6 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Sx/font.out_markdown b/regress/mdoc/Sx/font.out_markdown
new file mode 100644 (file)
index 0000000..333cdb0
--- /dev/null
@@ -0,0 +1,13 @@
+SX-FONT(1) - General Commands Manual
+
+# NAME
+
+**Sx-font** - changing fonts inside the cross reference macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Sx/noarg.out_markdown b/regress/mdoc/Sx/noarg.out_markdown
new file mode 100644 (file)
index 0000000..0271546
--- /dev/null
@@ -0,0 +1,14 @@
+SX-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Sx-noarg** - internal cross reference without a target
+
+# DESCRIPTION
+
+with target:
+*DESCRIPTION*
+no target:
+end of test document
+
+OpenBSD - January 19, 2011
index 36c1859b55b3cb0c56e4b7d8391493f46068a2ab..6448fb44deb407623614921f4f850cd2213044db 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font punct
 LINT_TARGETS   = noarg punct
+MARKDOWN_TARGETS = noarg font punct
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Sy/font.out_markdown b/regress/mdoc/Sy/font.out_markdown
new file mode 100644 (file)
index 0000000..d0af7d2
--- /dev/null
@@ -0,0 +1,13 @@
+SY-FONT(1) - General Commands Manual
+
+# NAME
+
+**Sy-font** - changing fonts inside the symbolic font macro
+
+# DESCRIPTION
+
+normal text
+**bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Sy/noarg.out_markdown b/regress/mdoc/Sy/noarg.out_markdown
new file mode 100644 (file)
index 0000000..e3e1c01
--- /dev/null
@@ -0,0 +1,14 @@
+SY-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Sy-noarg** - symbolic macro without arguments
+
+# DESCRIPTION
+
+with argument
+**arg**
+no argument
+end of test document
+
+OpenBSD - January 19, 2011
diff --git a/regress/mdoc/Sy/punct.out_markdown b/regress/mdoc/Sy/punct.out_markdown
new file mode 100644 (file)
index 0000000..8d91555
--- /dev/null
@@ -0,0 +1,85 @@
+SY-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Sy-punct** - punctuation following a symbolic macro
+
+# DESCRIPTION
+
+Leading punctuation:
+(**b**
+\[**b**
+| **b**
+. **b**
+, **b**
+; **b**
+: **b**
+? **b**
+! **b**
+) **b**
+] **b**
+
+Trailing punctuation:
+**a** (
+**a** \[
+**a** |
+**a**.
+**a**,
+**a**;
+**a**:
+**a**?
+**a**!
+**a**)
+**a**]
+
+Middle punctuation:
+**a** (**b**
+**a** \[**b**
+**a** | **b**
+**a**. **b**
+**a**, **b**
+**a**; **b**
+**a**: **b**
+**a**? **b**
+**a**! **b**
+**a**) **b**
+**a**] **b**
+
+Isolated punctuation:
+**a** (**b**
+**a** \[**b**
+**a** | **b**
+**a** . **b**
+**a** , **b**
+**a** ; **b**
+**a** : **b**
+**a** ? **b**
+**a** ! **b**
+**a** ) **b**
+**a** ] **b**
+
+Isolated trailing punctuation:
+**a** (
+**a** \[
+**a** |
+**a** .
+**a** ,
+**a** ;
+**a** :
+**a** ?
+**a** !
+**a** )
+**a** ]
+
+Multiple isolated punctuation:
+**a** (\[**b**
+**a** )] **b**
+
+Multiple punctuation:
+\[(**arg**)].
+
+Quoted:
+**a . b Nm**
+**. b Nm**
+
+OpenBSD - November 17, 2014
index 1be2a84aeb4ec5940b0b28f617f249ef7e8f80d6..e13130c15f75c0ce7dc2e32f447752c69f3edae6 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg font
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg font
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Tn/font.out_markdown b/regress/mdoc/Tn/font.out_markdown
new file mode 100644 (file)
index 0000000..d84b461
--- /dev/null
@@ -0,0 +1,13 @@
+TN-FONT(1) - General Commands Manual
+
+# NAME
+
+**Tn-font** - changing fonts inside the trade name macro
+
+# DESCRIPTION
+
+normal text
+`literal*emphasis*back`
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Tn/noarg.out_markdown b/regress/mdoc/Tn/noarg.out_markdown
new file mode 100644 (file)
index 0000000..64641d6
--- /dev/null
@@ -0,0 +1,14 @@
+TN-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Tn-noarg** - trade name macro without argument
+
+# DESCRIPTION
+
+with argument
+`IBM`
+no argument
+end of test document
+
+OpenBSD - January 19, 2011
index 9bc871eed374f60a46e18d1328a23c73c37434c3..741a63265288f421cbab742b3db81470b4e37e6d 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS         = arg
 LINT_TARGETS    = arg
+MARKDOWN_TARGETS = arg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ud/arg.out_markdown b/regress/mdoc/Ud/arg.out_markdown
new file mode 100644 (file)
index 0000000..aaf0f70
--- /dev/null
@@ -0,0 +1,22 @@
+UD-ARG(1) - General Commands Manual
+
+# NAME
+
+**Ud-arg** - obsolete text production macros
+
+# DESCRIPTION
+
+The newest branch is
+currently under development.
+The stable branch
+is currently in beta test.
+It will be released shortly.
+
+With arg:
+currently under development.
+is currently in beta test.
+currently under development.
+is currently in beta test.
+end
+
+OpenBSD - January 11, 2017
index c945b5e63a6e4402e7188d5fc21067c41998a2ea..05a3316d301d91483f8fdf09da8f6b231226f63b 100644 (file)
@@ -1,5 +1,6 @@
 # $OpenBSD: Makefile,v 1.2 2013/12/22 14:06:29 schwarze Exp $
 
 REGRESS_TARGETS = spacing eos
+MARKDOWN_TARGETS = spacing eos
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Ux/eos.out_markdown b/regress/mdoc/Ux/eos.out_markdown
new file mode 100644 (file)
index 0000000..49f3a9c
--- /dev/null
@@ -0,0 +1,25 @@
+UX-EOS(1) - General Commands Manual
+
+# NAME
+
+**Ux-eos** - end of sentence spacing after Unix macros
+
+# DESCRIPTION
+
+In the beginning Ken and Dennis wrote
+UNIX.
+The CSRG rewrote it to become
+BSD.
+When it dissolved, people started
+BSD/OS.
+And
+NetBSD.
+And
+FreeBSD.
+And
+OpenBSD.
+And
+DragonFly.
+By now, it's free for everyone.
+
+OpenBSD - December 22, 2013
diff --git a/regress/mdoc/Ux/spacing.out_markdown b/regress/mdoc/Ux/spacing.out_markdown
new file mode 100644 (file)
index 0000000..528bee4
--- /dev/null
@@ -0,0 +1,23 @@
+UX-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Ux-spacing** - spacing around the Unix macro
+
+# DESCRIPTION
+
+The
+UNIX
+family of operating systems, including
+NetBSD,
+OpenBSD,
+FreeBSD,
+DragonFly
+and
+BSD/OS.
+The system is
+currently under development.
+The system
+is currently in beta test.
+
+OpenBSD - October 20, 2011
index 3d426934beb89bbba1697ab084a0203f546d8e37..a45efa7b9c1f7e35619dc9f5cab5b16939208279 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS        = basic font noarg
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = basic font noarg
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Va/basic.out_markdown b/regress/mdoc/Va/basic.out_markdown
new file mode 100644 (file)
index 0000000..ec819cd
--- /dev/null
@@ -0,0 +1,17 @@
+VA-BASIC(1) - General Commands Manual
+
+# NAME
+
+**Va-basic** - basic usage of the variable name macro
+
+# DESCRIPTION
+
+Both
+*char \*&zwnj;*
+*malloc\_options*
+and
+*int*
+*errno*
+are typical examples of global variables.
+
+OpenBSD - July 8, 2012
diff --git a/regress/mdoc/Va/font.out_markdown b/regress/mdoc/Va/font.out_markdown
new file mode 100644 (file)
index 0000000..b58aecd
--- /dev/null
@@ -0,0 +1,13 @@
+VA-FONT(1) - General Commands Manual
+
+# NAME
+
+**Va-font** - changing fonts inside the variable name macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Va/noarg.out_markdown b/regress/mdoc/Va/noarg.out_markdown
new file mode 100644 (file)
index 0000000..323c5e2
--- /dev/null
@@ -0,0 +1,15 @@
+VA-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Va-noarg** - variable name macro without arguments
+
+# DESCRIPTION
+
+with arguments
+*int*
+*errno*
+no arguments
+end of test document
+
+OpenBSD - January 20, 2011
index d1f0a9bd1c9586339f9fec5a76e59e64c2e0b161..b6d9f2b2f701f8adf135bb943eb16ab89afe6416 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS = noarg spacing font child
 LINT_TARGETS   = noarg
+MARKDOWN_TARGETS = noarg spacing font child
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Vt/child.out_markdown b/regress/mdoc/Vt/child.out_markdown
new file mode 100644 (file)
index 0000000..49d984e
--- /dev/null
@@ -0,0 +1,20 @@
+VT-CHILD(1) - General Commands Manual
+
+# NAME
+
+**Vt-child** - the variable type macro does not want children
+
+# SYNOPSIS
+
+*extern **int** `errno`*
+
+# DESCRIPTION
+
+various types, for example
+*unsigned* **int**,
+*long* `int`
+and
+*float*,
+*double*
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Vt/font.out_markdown b/regress/mdoc/Vt/font.out_markdown
new file mode 100644 (file)
index 0000000..c210b5b
--- /dev/null
@@ -0,0 +1,13 @@
+VT-FONT(1) - General Commands Manual
+
+# NAME
+
+**Vt-font** - changing fonts inside the variable type macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Vt/noarg.out_markdown b/regress/mdoc/Vt/noarg.out_markdown
new file mode 100644 (file)
index 0000000..4ed9529
--- /dev/null
@@ -0,0 +1,14 @@
+VT-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Vt-noarg** - variable type macro without arguments
+
+# DESCRIPTION
+
+with arguments
+*signed int*
+no arguments
+end of test document
+
+OpenBSD - January 20, 2011
diff --git a/regress/mdoc/Vt/spacing.out_markdown b/regress/mdoc/Vt/spacing.out_markdown
new file mode 100644 (file)
index 0000000..58bb771
--- /dev/null
@@ -0,0 +1,21 @@
+VT-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Vt-spacing** - spacing around the variable type macro
+
+# SYNOPSIS
+
+*extern char \*\*environ*  
+*extern int errno*
+
+# DESCRIPTION
+
+various types, for example
+*unsigned int*,
+*long int*
+and
+*float*,
+*double*
+
+OpenBSD - July 8, 2012
index 98887f8477a4aa0abcee9d85542ad4d12aa5e5bb..618081f26580500ad5d5ca6f87f7ebb7089f28a4 100644 (file)
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS         = args
 LINT_TARGETS    = args
+MARKDOWN_TARGETS = args
 
 .include <bsd.regress.mk>
diff --git a/regress/mdoc/Xr/args.out_markdown b/regress/mdoc/Xr/args.out_markdown
new file mode 100644 (file)
index 0000000..bc102f5
--- /dev/null
@@ -0,0 +1,28 @@
+XR-ARGS(1) - General Commands Manual
+
+# NAME
+
+**Xr-args** - additional arguments to cross references
+
+# DESCRIPTION
+
+One single
+echo(1)
+is fine, and so is an
+echo(1) followed by something else.
+
+But listen for multiple
+echo(1)s.
+
+A call, an
+echo(1), and
+another
+echo(1).
+
+Finally, half an
+echo,
+no echo
+and no
+echo at all.
+
+OpenBSD - December 3, 2011
index e51424c94048c03d89f9814cb8d63a04fe03c6de..8a43c0c8012ae558a44b9e3a6ad60110d7b24539 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS = line comment list
 LINT_TARGETS   = line comment list
+MARKDOWN_TARGETS = comment list
 
 SKIP_TMAN = list
 
diff --git a/regress/mdoc/blank/comment.out_markdown b/regress/mdoc/blank/comment.out_markdown
new file mode 100644 (file)
index 0000000..906a0c0
--- /dev/null
@@ -0,0 +1,16 @@
+BLANK-COMMENT(1) - General Commands Manual
+
+# NAME
+
+**blank-comment** - normal and bogus comments
+
+# DESCRIPTION
+
+normal comment
+bogus comment
+end of text
+
+text
+text
+
+OpenBSD - February 17, 2010
diff --git a/regress/mdoc/blank/list.out_markdown b/regress/mdoc/blank/list.out_markdown
new file mode 100644 (file)
index 0000000..8d92f60
--- /dev/null
@@ -0,0 +1,50 @@
+BLANK-LIST(1) - General Commands Manual
+
+# NAME
+
+**blank-list** - handling of blank lines in lists
+
+# DESCRIPTION
+
+normal list:
+
+first item
+
+second item
+
+list with paragraphs:
+
+first item
+
+second item
+
+list with final paragraph:
+
+item
+
+list with double paragraph:
+
+item
+
+normal compact list:
+
+first item  
+second item
+
+compact list with paragraphs:
+
+first item
+
+second item
+
+compact list with final paragraph:
+
+item
+
+compact list with double paragraph:
+
+item
+
+End.
+
+OpenBSD - July 17, 2012
index b4c3b21916310e1a523ff01461159b1b02a7ddfb..23898a5987a325efe9c921862638af418dcb23b7 100644 (file)
@@ -2,6 +2,7 @@
 
 REGRESS_TARGETS        = brokenbreaker twice tail two notopen
 LINT_TARGETS   = brokenbreaker twice tail two notopen
+MARKDOWN_TARGETS = brokenbreaker twice two notopen
 
 # It's hard to keep stuff together in next-line scope.
 
diff --git a/regress/mdoc/break/brokenbreaker.out_markdown b/regress/mdoc/break/brokenbreaker.out_markdown
new file mode 100644 (file)
index 0000000..ed5868d
--- /dev/null
@@ -0,0 +1,13 @@
+BREAK-BROKENBREAKER(1) - General Commands Manual
+
+# NAME
+
+**break-brokenbreaker** - a broken block breaking another block
+
+# DESCRIPTION
+
+(po
+&lt;ao pc)
+\[bo pc ac&gt; bc]
+
+OpenBSD - December 23, 2014
diff --git a/regress/mdoc/break/notopen.out_markdown b/regress/mdoc/break/notopen.out_markdown
new file mode 100644 (file)
index 0000000..61b8185
--- /dev/null
@@ -0,0 +1,14 @@
+BREAK-NOTOPEN(1) - General Commands Manual
+
+# NAME
+
+**break-notopen** - mismatching end macro inside two open blocks
+
+# DESCRIPTION
+
+&lt;ao
+\[bo pc bc]
+ac&gt;
+tail
+
+OpenBSD - August 20, 2016
diff --git a/regress/mdoc/break/twice.out_markdown b/regress/mdoc/break/twice.out_markdown
new file mode 100644 (file)
index 0000000..18bf163
--- /dev/null
@@ -0,0 +1,35 @@
+BREAK-TWICE(1) - General Commands Manual
+
+# NAME
+
+**break-twice** - breaking the same block twice
+
+# DESCRIPTION
+
+Standard case, fully explicit:
+\[bo
+{bro
+&lt;ao brc} bc] ac&gt;
+
+Standard case, implicit broken block:
+\[bo
+{bro
+&lt;aq brc} bc] eol&gt;
+
+Two of the same kind, fully explicit:
+\[bo
+\[bo
+&lt;ao bc] bc] ac&gt;
+
+Two of the same kind, implicit broken block:
+\[bo
+\[bo
+&lt;aq bc] bc] eol&gt;
+
+Two implicit breakers:
+&lt;aq \[bq (po]&gt;
+pc)
+
+-      it
+
+OpenBSD - February 16, 2017
diff --git a/regress/mdoc/break/two.out_markdown b/regress/mdoc/break/two.out_markdown
new file mode 100644 (file)
index 0000000..ab0aea2
--- /dev/null
@@ -0,0 +1,37 @@
+BREAK-TWO(1) - General Commands Manual
+
+# NAME
+
+**break-two** - the same block breaking two other blocks
+
+# DESCRIPTION
+
+Standard case, explicit:
+&lt;ao
+\[bo
+{bro ac&gt; brc}
+bc]
+
+Standard case, implicit:
+&lt;aq \[bo {bro eol&gt;}
+bc]
+
+Reverse closing, explicit:
+&lt;ao
+\[bo
+{bro ac&gt; bc] brc}
+
+Reverse closing, implicit:
+&lt;aq \[bo {bro eol&gt;] brc}
+
+Two of the same kind, explicit:
+&lt;ao
+\[bo
+\[bo ac&gt; bc]
+bc]
+
+Two of the same kind, implicit:
+&lt;aq \[bo \[bo eol&gt;]
+bc]
+
+OpenBSD - February 12, 2015