source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: enable -T markdown tests of filled displays and tagged lists
@ 2017-03-08 14:46 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-03-08 14:46 UTC (permalink / raw)
  To: source

Log Message:
-----------
enable -T markdown tests of filled displays and tagged lists

Modified Files:
--------------
    mdocml/regress/mdoc/Bd:
        Makefile
    mdocml/regress/mdoc/Bl:
        Makefile
    mdocml/regress/mdoc/D1:
        Makefile
    mdocml/regress/mdoc/Sm:
        Makefile
    mdocml/regress/mdoc/break:
        Makefile

Added Files:
-----------
    mdocml/regress/mdoc/Bd:
        badargs.out_markdown
        beforeNAME.out_markdown
        blank.out_markdown
        break.out_markdown
        broken.out_markdown
        centered.out_markdown
        empty.out_markdown
        nested.out_markdown
        offset-empty.out_markdown
        offset-neg.out_markdown
        spacing.out_markdown
        unclosed.out_markdown
    mdocml/regress/mdoc/Bl:
        badargs.out_markdown
        breakingIt.out_markdown
        broken.out_markdown
        emptyhead.out_markdown
        emptytag.out_markdown
        extend.out_markdown
        hang.out_markdown
        multitag.out_markdown
        nested.out_markdown
        noIt.out_markdown
        offset.out_markdown
        secstart.out_markdown
        tag.out_markdown
    mdocml/regress/mdoc/D1:
        spacing.out_markdown
    mdocml/regress/mdoc/Sm:
        scope.out_markdown
    mdocml/regress/mdoc/break:
        tail.out_markdown

Revision Data
-------------
--- /dev/null
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/D1/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/D1/Makefile -Lregress/mdoc/D1/Makefile -u -p -r1.1 -r1.2
--- regress/mdoc/D1/Makefile
+++ regress/mdoc/D1/Makefile
@@ -2,5 +2,6 @@
 
 REGRESS_TARGETS	 = spacing
 LINT_TARGETS	 = spacing
+MARKDOWN_TARGETS = spacing
 
 .include <bsd.regress.mk>
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sm/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sm/Makefile -Lregress/mdoc/Sm/Makefile -u -p -r1.2 -r1.3
--- regress/mdoc/Sm/Makefile
+++ 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
 
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bd/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bd/Makefile -Lregress/mdoc/Bd/Makefile -u -p -r1.1 -r1.2
--- regress/mdoc/Bd/Makefile
+++ 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:
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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*&zwnj;**stray**&zwnj;*text.*
+
+*	Bullet point.
+
+Stray text only.
+
+OpenBSD - October 6, 2013
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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.
+&lt;More stray text.&gt;
+
+tag
+
+> Tagged text.
+
+Stray text.
+&lt;More stray text.&gt;
+
+*	Bullet point.
+
+tag
+
+> Tagged text.
+> &lt;More tagged text.&gt;
+
+tag2
+
+> Yet more tagged text.
+
+*	Item text.
+	&lt;More item text.&gt;
+
+*	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
--- /dev/null
+++ 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
--- /dev/null
+++ regress/mdoc/Bl/extend.out_markdown
@@ -0,0 +1,23 @@
+BL-EXTEND(1) - General Commands Manual
+
+# NAME
+
+**Bl-extend** - extending block headers
+
+# DESCRIPTION
+
+&lt;plain quoted text&gt;
+
+normal tag
+
+> normal text
+
+&lt;extended tag&gt;
+
+> extended text
+
+prefix &lt;prefixed tag&gt;
+
+> prefixed text
+
+OpenBSD - April 12, 2010
--- /dev/null
+++ 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
--- /dev/null
+++ 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
--- /dev/null
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/mdoc/Bl/Makefile -Lregress/mdoc/Bl/Makefile -u -p -r1.4 -r1.5
--- regress/mdoc/Bl/Makefile
+++ regress/mdoc/Bl/Makefile
@@ -13,10 +13,11 @@ LINT_TARGETS	 = column notype badargs ta
 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
--- /dev/null
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/break/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/break/Makefile -Lregress/mdoc/break/Makefile -u -p -r1.2 -r1.3
--- regress/mdoc/break/Makefile
+++ 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.
 
--- /dev/null
+++ 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:
+&lt;ao
+\[bo ac&gt; bc]
+tail
+&lt;ao
+\[bo ac&gt; bc] \(po pc)
+tail
+
+Broken by a partial implicit block:
+&lt;aq \[bo eol&gt;]
+tail
+&lt;aq \[bo eol&gt;] \(po pc)
+tail
+
+Broken by a full implicit block:
+
+it &lt;ao ac&gt;
+tail
+
+> list body
+
+it &lt;ao ac&gt; (po pc)
+tail
+
+> list body
+
+After a broken block: closing child on closing macro,
+then opening child on closing macro:
+&lt;ao
+\[bo
+{bro
+(po brc} pc)
+bc] ac&gt; \[op]
+
+OpenBSD - February 11, 2017
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-08 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-08 14:46 mdocml: enable -T markdown tests of filled displays and tagged lists schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).