From 6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 5 Mar 2017 19:59:33 +0000 Subject: first batch of -T markdown tests --- regress/mdoc/Nm/Makefile | 3 +++ regress/mdoc/Nm/break.out_markdown | 17 +++++++++++++++ regress/mdoc/Nm/broken.out_markdown | 19 +++++++++++++++++ regress/mdoc/Nm/empty.out_markdown | 18 ++++++++++++++++ regress/mdoc/Nm/font.out_markdown | 13 ++++++++++++ regress/mdoc/Nm/long.out_markdown | 13 ++++++++++++ regress/mdoc/Nm/par.out_markdown | 14 +++++++++++++ regress/mdoc/Nm/parns.out_markdown | 22 +++++++++++++++++++ regress/mdoc/Nm/punct.out_markdown | 42 +++++++++++++++++++++++++++++++++++++ 9 files changed, 161 insertions(+) create mode 100644 regress/mdoc/Nm/break.out_markdown create mode 100644 regress/mdoc/Nm/broken.out_markdown create mode 100644 regress/mdoc/Nm/empty.out_markdown create mode 100644 regress/mdoc/Nm/font.out_markdown create mode 100644 regress/mdoc/Nm/long.out_markdown create mode 100644 regress/mdoc/Nm/par.out_markdown create mode 100644 regress/mdoc/Nm/parns.out_markdown create mode 100644 regress/mdoc/Nm/punct.out_markdown (limited to 'regress/mdoc/Nm') diff --git a/regress/mdoc/Nm/Makefile b/regress/mdoc/Nm/Makefile index 2b5a5b83..515f9e5d 100644 --- a/regress/mdoc/Nm/Makefile +++ b/regress/mdoc/Nm/Makefile @@ -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 index 00000000..686c234f --- /dev/null +++ b/regress/mdoc/Nm/break.out_markdown @@ -0,0 +1,17 @@ +NM-BREAK(1) - General Commands Manual + +# NAME + +**Nm-break** - name block head breaking another block + +# SYNOPSIS + +**before \[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 index 00000000..cb674648 --- /dev/null +++ b/regress/mdoc/Nm/broken.out_markdown @@ -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 index 00000000..102b16c3 --- /dev/null +++ b/regress/mdoc/Nm/empty.out_markdown @@ -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 index 00000000..1425fb5b --- /dev/null +++ b/regress/mdoc/Nm/font.out_markdown @@ -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 index 00000000..a421f068 --- /dev/null +++ b/regress/mdoc/Nm/long.out_markdown @@ -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 ...* + +OpenBSD - April 4, 2014 diff --git a/regress/mdoc/Nm/par.out_markdown b/regress/mdoc/Nm/par.out_markdown new file mode 100644 index 00000000..c2a355d6 --- /dev/null +++ b/regress/mdoc/Nm/par.out_markdown @@ -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 index 00000000..43b96597 --- /dev/null +++ b/regress/mdoc/Nm/parns.out_markdown @@ -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 index 00000000..ad848240 --- /dev/null +++ b/regress/mdoc/Nm/punct.out_markdown @@ -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 -- cgit