diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-08 14:45:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-03-08 14:45:55 +0000 |
commit | 8534cbf2dae8829993602168a26069f7ff98758c (patch) | |
tree | 508cd5368de6c33e7f7f3d1db1c21499f5f0d434 /regress | |
parent | 62f910cc343a816f86aa11097418b5bc136bb70f (diff) | |
download | mandoc-8534cbf2dae8829993602168a26069f7ff98758c.tar.gz |
enable -T markdown tests of filled displays and tagged lists
Diffstat (limited to 'regress')
33 files changed, 1211 insertions, 6 deletions
diff --git a/regress/mdoc/Bd/Makefile b/regress/mdoc/Bd/Makefile index 817d9fe7..c27fc8ac 100644 --- a/regress/mdoc/Bd/Makefile +++ b/regress/mdoc/Bd/Makefile @@ -6,6 +6,10 @@ REGRESS_TARGETS += break broken unclosed LINT_TARGETS = beforeNAME blank nested badargs break broken unclosed +MARKDOWN_TARGETS = beforeNAME blank centered nested spacing +MARKDOWN_TARGETS += badargs empty offset-empty offset-neg +MARKDOWN_TARGETS += break broken unclosed + SKIP_TMAN = beforeNAME centered # groff-1.22.3 defects: diff --git a/regress/mdoc/Bd/badargs.out_markdown b/regress/mdoc/Bd/badargs.out_markdown new file mode 100644 index 00000000..49503d25 --- /dev/null +++ b/regress/mdoc/Bd/badargs.out_markdown @@ -0,0 +1,51 @@ +BD-BADARGS(1) - General Commands Manual + +# NAME + +**Bd-badargs** - display block with bad arguments + +# DESCRIPTION + +trailing -offset: + +> is +> ignored + +double -compact and -offset: + +> last +> wins + +no type: + +> displayed +> text + +double type: + +> ragged +> unfilled + + unfilled + ragged + +file /dev/null: + +> ragged +> offset indent + +trailing -file: + +> ragged +> offset indent + +missing -file argument: + +> ragged +> offset indent + +no argument whatsoever: +no +argument + +OpenBSD - October 27, 2015 diff --git a/regress/mdoc/Bd/beforeNAME.out_markdown b/regress/mdoc/Bd/beforeNAME.out_markdown new file mode 100644 index 00000000..79b9702a --- /dev/null +++ b/regress/mdoc/Bd/beforeNAME.out_markdown @@ -0,0 +1,15 @@ +BD-BEFORENAME(1) - General Commands Manual + +> Building and Debugging NetBSD Kernels +> David A. Holland +> August 17, 2009 + +# NAME + +**Bd-beforename** - title and author block before the NAME section + +# DESCRIPTION + +some text + +OpenBSD - July 28, 2014 diff --git a/regress/mdoc/Bd/blank.out_markdown b/regress/mdoc/Bd/blank.out_markdown new file mode 100644 index 00000000..5977c6fb --- /dev/null +++ b/regress/mdoc/Bd/blank.out_markdown @@ -0,0 +1,33 @@ +BD-BLANK(1) - General Commands Manual + +# NAME + +**Bd-blank** - handling of blank lines in literal displays + +# DESCRIPTION + + completely blank line: + + line containing a blank character: + + line containing two blank characters: + + line containing space tab space: + + line starting with a blank character: + x + line starting with two blank characters: + x + line ending in one blank character: + line ending in two blank characters: + line ending in space tab space: + line containing a Pp macro: + + finally, a trailing blank line: + + +An empty one-line literal display: + +end of test document + +OpenBSD - January 2, 2011 diff --git a/regress/mdoc/Bd/break.out_markdown b/regress/mdoc/Bd/break.out_markdown new file mode 100644 index 00000000..5a11842d --- /dev/null +++ b/regress/mdoc/Bd/break.out_markdown @@ -0,0 +1,17 @@ +BD-BREAK(1) - General Commands Manual + +# NAME + +**Bd-break** - display breaking another block + +# DESCRIPTION + +before both + +> before bracket +> \[inside both + +after display] +after both + +OpenBSD - November 10, 2012 diff --git a/regress/mdoc/Bd/broken.out_markdown b/regress/mdoc/Bd/broken.out_markdown new file mode 100644 index 00000000..f05b702f --- /dev/null +++ b/regress/mdoc/Bd/broken.out_markdown @@ -0,0 +1,15 @@ +BD-BROKEN(1) - General Commands Manual + +# NAME + +**Bd-broken** - display broken by another block + +# DESCRIPTION + +before both +\[before display + +> inside both] +> after bracket + +OpenBSD - November 10, 2012 diff --git a/regress/mdoc/Bd/centered.out_markdown b/regress/mdoc/Bd/centered.out_markdown new file mode 100644 index 00000000..9eaadec1 --- /dev/null +++ b/regress/mdoc/Bd/centered.out_markdown @@ -0,0 +1,16 @@ +BD-CENTERED(1) - General Commands Manual + +# NAME + +**Bd-centered** - centered display blocks + +# DESCRIPTION + +preceding text + +> first line of the block +> second line + +following text + +OpenBSD - July 28, 2014 diff --git a/regress/mdoc/Bd/empty.out_markdown b/regress/mdoc/Bd/empty.out_markdown new file mode 100644 index 00000000..6263ccca --- /dev/null +++ b/regress/mdoc/Bd/empty.out_markdown @@ -0,0 +1,19 @@ +BD-EMPTY(1) - General Commands Manual + +# NAME + +**Bd-empty** - empty displays + +# DESCRIPTION + +An empty filled display: + +An empty literal display: + +An empty ragged display: + +An empty unfilled display: + +end of test document + +OpenBSD - January 2, 2010 diff --git a/regress/mdoc/Bd/nested.out_markdown b/regress/mdoc/Bd/nested.out_markdown new file mode 100644 index 00000000..f3fca637 --- /dev/null +++ b/regress/mdoc/Bd/nested.out_markdown @@ -0,0 +1,46 @@ +BD-NESTED(1) - General Commands Manual + +# NAME + +**Bd-nested** - nested displays and lists + +# DESCRIPTION + +regular +text + +> outer +> text (default indent) + +> > inner +> > text (default indent) + +> outer +> text + +regular +text + +> outer text (4n) + +> > inner text (2n) + +> outer text + +> tag + +> > text + +> outer text + +regular text + +tag + +> outer text + +> > inner text (2n) + +> outer text + +OpenBSD - November 18, 2012 diff --git a/regress/mdoc/Bd/offset-empty.out_markdown b/regress/mdoc/Bd/offset-empty.out_markdown new file mode 100644 index 00000000..f5c06a13 --- /dev/null +++ b/regress/mdoc/Bd/offset-empty.out_markdown @@ -0,0 +1,25 @@ +BD-OFFSET-EMPTY(1) - General Commands Manual + +# NAME + +**Bd-offset-empty** - no argument specified to Bd offset + +# DESCRIPTION + + Bd literal offset empty + + Bd literal offset left + + Bd literal offset indent + + Bd literal offset indent-two + + Bd literal offset 4n + + Bd literal offset mystring + + Bd literal offset Ds + + Bd literal offset 78n + +OpenBSD - November 20, 2014 diff --git a/regress/mdoc/Bd/offset-neg.out_markdown b/regress/mdoc/Bd/offset-neg.out_markdown new file mode 100644 index 00000000..60cd9195 --- /dev/null +++ b/regress/mdoc/Bd/offset-neg.out_markdown @@ -0,0 +1,27 @@ +BD-INDENT(1) - General Commands Manual + +# NAME + +**Bd-indent** - indenting display blocks + +# DESCRIPTION + +regular text + +> outer display + +> > inner display + +> outer display + +regular text + +> outer display + +> > inner display + +> outer display + +regular text + +OpenBSD - December 24, 2014 diff --git a/regress/mdoc/Bd/spacing.out_markdown b/regress/mdoc/Bd/spacing.out_markdown new file mode 100644 index 00000000..c87b9616 --- /dev/null +++ b/regress/mdoc/Bd/spacing.out_markdown @@ -0,0 +1,19 @@ +BD-SPACING(1) - General Commands Manual + +# NAME + +**Bd-spacing** - vertical spacing around display blocks + +# DESCRIPTION + +preceding text + +> display block + +text between displays + +> compact display block + +following text + +OpenBSD - July 6, 2012 diff --git a/regress/mdoc/Bd/unclosed.out_markdown b/regress/mdoc/Bd/unclosed.out_markdown new file mode 100644 index 00000000..644e5d4a --- /dev/null +++ b/regress/mdoc/Bd/unclosed.out_markdown @@ -0,0 +1,13 @@ +BD-UNCLOSED(1) - General Commands Manual + +# NAME + +**Bd-unclosed** - display still open at the end of the file + +# DESCRIPTION + +before display + +> inside display + +OpenBSD - July 7, 2014 diff --git a/regress/mdoc/Bl/Makefile b/regress/mdoc/Bl/Makefile index b948d69f..45b1e113 100644 --- a/regress/mdoc/Bl/Makefile +++ b/regress/mdoc/Bl/Makefile @@ -13,10 +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 inset diag ohang bullet dash enum -MARKDOWN_TARGETS += notype multitype -MARKDOWN_TARGETS += empty emptyitem -MARKDOWN_TARGETS += bareIt bareTa unclosed breakingTa +MARKDOWN_TARGETS = item inset diag ohang bullet dash enum hang tag +MARKDOWN_TARGETS += extend nested offset secstart +MARKDOWN_TARGETS += notype multitype badargs +MARKDOWN_TARGETS += empty noIt emptyhead emptytag emptyitem multitag +MARKDOWN_TARGETS += bareIt bareTa unclosed breakingIt breakingTa broken # groff-mandoc differences: # - groff allows enclosures to span Ta, mandoc does not diff --git a/regress/mdoc/Bl/badargs.out_markdown b/regress/mdoc/Bl/badargs.out_markdown new file mode 100644 index 00000000..474364d3 --- /dev/null +++ b/regress/mdoc/Bl/badargs.out_markdown @@ -0,0 +1,60 @@ +BL-BADARGS(1) - General Commands Manual + +# NAME + +**Bl-badargs** - list with bad arguments + +# DESCRIPTION + +trailing -offset: + +* is ignored + +trailing -width: + +* bullet + +- dash + +- hyphen + +hang + +> item + +tag + +> Here we need a very long line. +> It must be sufficiently long such that it wraps the line. + +double type: + +* bullet enum + +1. enum bullet + +unknown arguments: + +* bullet text + +1. enum text + +inset +text + +item text + +ohang +text + +tag + +> text + +double arguments: + +last + +> wins + +OpenBSD - February 4, 2015 diff --git a/regress/mdoc/Bl/breakingIt.out_markdown b/regress/mdoc/Bl/breakingIt.out_markdown new file mode 100644 index 00000000..c6c3de6a --- /dev/null +++ b/regress/mdoc/Bl/breakingIt.out_markdown @@ -0,0 +1,69 @@ +BL-BREAKINGIT(1) - General Commands Manual + +# NAME + +**Bl-breakingIt** - items breaking other blocks + +# DESCRIPTION + +## Breaking partial explicit macros + +Stray text. +<More stray text.> + +tag + +> Tagged text. + +Stray text. +<More stray text.> + +* Bullet point. + +tag + +> Tagged text. +> <More tagged text.> + +tag2 + +> Yet more tagged text. + +* Item text. + <More item text.> + +* Bullet point. + +## Breaking full explicit macros + +Stray text. + +> More stray text. + +tag + +> Tagged text. + +Stray text. + +> More stray text. + +* Bullet point. + +tag + +> Tagged text. + +> > Display text. + +tag2 + +> More tagged text. + +* Item text. + + > Display text. + +* Bullet point. + +OpenBSD - February 3, 2015 diff --git a/regress/mdoc/Bl/broken.out_markdown b/regress/mdoc/Bl/broken.out_markdown new file mode 100644 index 00000000..fb34a052 --- /dev/null +++ b/regress/mdoc/Bl/broken.out_markdown @@ -0,0 +1,27 @@ +BL-BROKEN(1) - General Commands Manual + +# NAME + +**Bl-broken** - list broken by another block + +# DESCRIPTION + +before both +\[before list + +1. inside both] + after bracket + +after list +\[before list + +1. inside list + + > inside display] + > after bracket + +2. next item + +after list + +OpenBSD - February 12, 2015 diff --git a/regress/mdoc/Bl/emptyhead.out_markdown b/regress/mdoc/Bl/emptyhead.out_markdown new file mode 100644 index 00000000..08818932 --- /dev/null +++ b/regress/mdoc/Bl/emptyhead.out_markdown @@ -0,0 +1,51 @@ +BL-EMPTYHEAD(1) - General Commands Manual + +# NAME + +**Bl-emptyhead** - lists with empty item heads + +# DESCRIPTION + +hang list: + +tag + +> text + +> no tag before this text + +tag + +> text + +ohang list: + +tag +text + +no tag before this text + +tag +text + +inset list: + +tag +text + +no tag before this text + +tag +text + +diag list: + +tag +text + +no tag before this text + +tag +text + +OpenBSD - July 3, 2014 diff --git a/regress/mdoc/Bl/emptytag.out_markdown b/regress/mdoc/Bl/emptytag.out_markdown new file mode 100644 index 00000000..39db2545 --- /dev/null +++ b/regress/mdoc/Bl/emptytag.out_markdown @@ -0,0 +1,23 @@ +BL-EMPTYTAG(1) - General Commands Manual + +# NAME + +**Bl-emptytag** - tag lists with empty item heads + +# DESCRIPTION + +initial text + +tag + +> text + +> no tag before this text + +tag + +> text + +final text + +OpenBSD - July 3, 2014 diff --git a/regress/mdoc/Bl/extend.out_markdown b/regress/mdoc/Bl/extend.out_markdown new file mode 100644 index 00000000..7164d854 --- /dev/null +++ b/regress/mdoc/Bl/extend.out_markdown @@ -0,0 +1,23 @@ +BL-EXTEND(1) - General Commands Manual + +# NAME + +**Bl-extend** - extending block headers + +# DESCRIPTION + +<plain quoted text> + +normal tag + +> normal text + +<extended tag> + +> extended text + +prefix <prefixed tag> + +> prefixed text + +OpenBSD - April 12, 2010 diff --git a/regress/mdoc/Bl/hang.out_markdown b/regress/mdoc/Bl/hang.out_markdown new file mode 100644 index 00000000..f2f20def --- /dev/null +++ b/regress/mdoc/Bl/hang.out_markdown @@ -0,0 +1,118 @@ +BL-HANG(1) - General Commands Manual + +# NAME + +**Bl-hang** - hanged 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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x + +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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 +> x x x x x x x x x x x x x x x x 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 hanged item head, it is so long that it overruns the line - + +> and here comes the item body. + +Compact hanged list: + +one + +> first line + +second + +> second line + +third\_tag + +> last line + +Hanged list without a width: + +tag + +> text + +OpenBSD - December 25, 2014 diff --git a/regress/mdoc/Bl/multitag.out_markdown b/regress/mdoc/Bl/multitag.out_markdown new file mode 100644 index 00000000..cedea6cb --- /dev/null +++ b/regress/mdoc/Bl/multitag.out_markdown @@ -0,0 +1,65 @@ +BL-MULTITAG(1) - General Commands Manual + +# NAME + +**Bl-multitag** - lists with multiple successive tags + +# DESCRIPTION + +inset: + +first + +second + +third +some text + +fourth + +fifth +more text + +tag: + +first + +second + +third + +> some text + +fourth + +fifth + +> more text + +inset compact: + +first +second +third +some text +fourth +fifth +more text + +tag compact: + +first + +second + +third + +> some text + +fourth + +fifth + +> more text + +OpenBSD - April 13, 2010 diff --git a/regress/mdoc/Bl/nested.out_markdown b/regress/mdoc/Bl/nested.out_markdown new file mode 100644 index 00000000..6bc694dd --- /dev/null +++ b/regress/mdoc/Bl/nested.out_markdown @@ -0,0 +1,81 @@ +BL-NESTED(1) - General Commands Manual + +# NAME + +**Bl-nested** - nested lists + +# DESCRIPTION + +inset: + +outer +list + +inner +list + +inset compact: + +outer +list + +inner +list + +dash: + +- outer list + + - inner list + +dash compact: + +- outer list + + - inner list + +tag: + +outer tag + +> outer text + +> inner tag + +> > inner text + +> outer text + +outer tag + +> > outer text (display) + +> inner tag + +> > inner text + +> outer text + +outer tag + +> > outer text (one-line display) + +> inner tag + +> > inner text + +> outer text + +outer tag (indented 3n) + +> outer text + +> inner tag (indented 6n) + +> > inner text + +> outer text + +final text + +OpenBSD - May 19, 2013 diff --git a/regress/mdoc/Bl/noIt.out_markdown b/regress/mdoc/Bl/noIt.out_markdown new file mode 100644 index 00000000..a2fc0876 --- /dev/null +++ b/regress/mdoc/Bl/noIt.out_markdown @@ -0,0 +1,23 @@ +BL-NOIT(1) - General Commands Manual + +# NAME + +**Bl-noIt** - list missing item macros + +# DESCRIPTION + +Stray text. +*More stray text.* + +tag + +> Tagged text. + +Stray text. +*More*‌**stray**‌*text.* + +* Bullet point. + +Stray text only. + +OpenBSD - October 6, 2013 diff --git a/regress/mdoc/Bl/offset.out_markdown b/regress/mdoc/Bl/offset.out_markdown new file mode 100644 index 00000000..807950be --- /dev/null +++ b/regress/mdoc/Bl/offset.out_markdown @@ -0,0 +1,63 @@ +BL-OFFSET(1) - General Commands Manual + +# NAME + +**Bl-offset** - various arguments for Bl offset + +# DESCRIPTION + +Bl item offset empty + +Bl item offset left + +Bl item offset indent + +Bl item offset indent-two + +Bl item offset 4n + +Bl item offset mystring + +Bl item offset Ds + +Bl item offset 78n + +Bl item offset -3n + +tag + +> Bl tag width Ds offset empty + +tag + +> Bl tag width Ds offset left + +tag + +> Bl tag width Ds offset indent + +tag + +> Bl tag width Ds offset indent-two + +tag + +> Bl tag width Ds offset 4n + +tag + +> Bl tag width Ds offset mystring + +tag + +> Bl tag width Ds offset Ds + +tag + +> Bl tag width Ds offset 78n + +tag + +> Bl tag width Ds offset -3n + +OpenBSD - December 25, 2014 diff --git a/regress/mdoc/Bl/secstart.out_markdown b/regress/mdoc/Bl/secstart.out_markdown new file mode 100644 index 00000000..478788b0 --- /dev/null +++ b/regress/mdoc/Bl/secstart.out_markdown @@ -0,0 +1,34 @@ +BL-SECSTART(1) - General Commands Manual + +# NAME + +**Bl-secstart** - nested lists at the beginning of sections + +# DESCRIPTION + +## item + +text + +## dash + +- + + - text + +## inset + +outer + +inner +text + +## tag + +outer tag + +> inner tag + +> > text + +OpenBSD - November 10, 2014 diff --git a/regress/mdoc/Bl/tag.out_markdown b/regress/mdoc/Bl/tag.out_markdown new file mode 100644 index 00000000..e976e8db --- /dev/null +++ b/regress/mdoc/Bl/tag.out_markdown @@ -0,0 +1,175 @@ +BL-TAG(1) - General Commands Manual + +# NAME + +**Bl-tag** - tagged 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 + +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 + +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 + +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 + +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 + +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 + +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 + +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 + +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 + +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 tag, it is so long that it overruns the line - + +> and here comes the item body. + +hundred + +> text text + +Trailing white space in the head: + +a + +> none + +a + +> one + +a + +> two + +a + +> three + +a + +> four + +a + +> five + +a + +> six + + + +> white space only + +Non-numeric width specification: + +tag + +> text + +tag + +> text + +Scaling units other than n: + +tag + +> text + +tag + +> text + +tag + +> text + +Default width: + +tag + +> text + +long tag + +> long text + +**tag** *with markup* + +> text + +Indented list: + +one + +> first text + +two + +> second text + +Embedded paragraph: + +tag + +> first paragraph + +> second paragraph + +OpenBSD - September 21, 2015 diff --git a/regress/mdoc/D1/Makefile b/regress/mdoc/D1/Makefile index bed27d1b..047c39bd 100644 --- a/regress/mdoc/D1/Makefile +++ b/regress/mdoc/D1/Makefile @@ -2,5 +2,6 @@ REGRESS_TARGETS = spacing LINT_TARGETS = spacing +MARKDOWN_TARGETS = spacing .include <bsd.regress.mk> diff --git a/regress/mdoc/D1/spacing.out_markdown b/regress/mdoc/D1/spacing.out_markdown new file mode 100644 index 00000000..c0ebf104 --- /dev/null +++ b/regress/mdoc/D1/spacing.out_markdown @@ -0,0 +1,17 @@ +D1-SPACING(1) - General Commands Manual + +# NAME + +**D1-spacing** - spacing in and around one-line displays + +# DESCRIPTION + +preceding text + +> spacing in and around one-line displays + +empty display: + +following text + +OpenBSD - February 5, 2015 diff --git a/regress/mdoc/Sm/Makefile b/regress/mdoc/Sm/Makefile index a79ee73b..d6feafe0 100644 --- a/regress/mdoc/Sm/Makefile +++ b/regress/mdoc/Sm/Makefile @@ -2,7 +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 +MARKDOWN_TARGETS = noarg badarg scope spacing-No spacing-Op twoarg SKIP_TMAN ?= scope diff --git a/regress/mdoc/Sm/scope.out_markdown b/regress/mdoc/Sm/scope.out_markdown new file mode 100644 index 00000000..e184ee52 --- /dev/null +++ b/regress/mdoc/Sm/scope.out_markdown @@ -0,0 +1,31 @@ +SM-SCOPE(1) - General Commands Manual + +# NAME + +**Sm-scope** - scope of the spacing macro + +# DESCRIPTION + +Using an abbreviated example from the +ksh(1) +manual. + +Modifiers can be applied to the +${*name*} +form of parameter substitution: + +${*name*:-*word*} + +> If +> *name* +> is set and not +> `NULL`, +> it is substituted; otherwise, +> *word* +> is substituted. + +In the above modifiers, the +'`:`' +can be omitted, ... + +OpenBSD - January 2, 2010 diff --git a/regress/mdoc/break/Makefile b/regress/mdoc/break/Makefile index 23898a59..7e708169 100644 --- a/regress/mdoc/break/Makefile +++ b/regress/mdoc/break/Makefile @@ -2,7 +2,7 @@ REGRESS_TARGETS = brokenbreaker twice tail two notopen LINT_TARGETS = brokenbreaker twice tail two notopen -MARKDOWN_TARGETS = brokenbreaker twice two notopen +MARKDOWN_TARGETS = brokenbreaker twice tail two notopen # It's hard to keep stuff together in next-line scope. diff --git a/regress/mdoc/break/tail.out_markdown b/regress/mdoc/break/tail.out_markdown new file mode 100644 index 00000000..83e8fd0e --- /dev/null +++ b/regress/mdoc/break/tail.out_markdown @@ -0,0 +1,43 @@ +BREAK-TAIL(1) - General Commands Manual + +# NAME + +**break-tail** - tail arguments on or after broken blocks + +# DESCRIPTION + +Broken by a partial explicit block: +<ao +\[bo ac> bc] +tail +<ao +\[bo ac> bc] \(po pc) +tail + +Broken by a partial implicit block: +<aq \[bo eol>] +tail +<aq \[bo eol>] \(po pc) +tail + +Broken by a full implicit block: + +it <ao ac> +tail + +> list body + +it <ao ac> (po pc) +tail + +> list body + +After a broken block: closing child on closing macro, +then opening child on closing macro: +<ao +\[bo +{bro +(po brc} pc) +bc] ac> \[op] + +OpenBSD - February 11, 2017 |