summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/No
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
commit6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 (patch)
treee6edc639916f43b52d2efb638f3621e9b9f65207 /regress/mdoc/No
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/No')
-rw-r--r--regress/mdoc/No/Makefile1
-rw-r--r--regress/mdoc/No/punct.out_markdown86
-rw-r--r--regress/mdoc/No/spacing.out_markdown27
3 files changed, 114 insertions, 0 deletions
diff --git a/regress/mdoc/No/Makefile b/regress/mdoc/No/Makefile
index 3110bf2b..88613079 100644
--- a/regress/mdoc/No/Makefile
+++ b/regress/mdoc/No/Makefile
@@ -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
index 00000000..6861d214
--- /dev/null
+++ b/regress/mdoc/No/punct.out_markdown
@@ -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
index 00000000..442a054f
--- /dev/null
+++ b/regress/mdoc/No/spacing.out_markdown
@@ -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