aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Ns
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
commitfa99e371284a414ce8b13892006df003d31a0e37 (patch)
tree77511f9108c44772a3c5e9517e7c7bb8e93e1879 /regress/mdoc/Ns
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Ns')
-rw-r--r--regress/mdoc/Ns/Makefile1
-rw-r--r--regress/mdoc/Ns/position.out_markdown29
-rw-r--r--regress/mdoc/Ns/punct.out_markdown16
3 files changed, 46 insertions, 0 deletions
diff --git a/regress/mdoc/Ns/Makefile b/regress/mdoc/Ns/Makefile
index 45db66cc..ea798c05 100644
--- a/regress/mdoc/Ns/Makefile
+++ b/regress/mdoc/Ns/Makefile
@@ -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
index 00000000..14414a3e
--- /dev/null
+++ b/regress/mdoc/Ns/position.out_markdown
@@ -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
index 00000000..92a02c26
--- /dev/null
+++ b/regress/mdoc/Ns/punct.out_markdown
@@ -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