aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Nd
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/Nd
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Nd')
-rw-r--r--regress/mdoc/Nd/Makefile1
-rw-r--r--regress/mdoc/Nd/hyph.out_markdown13
-rw-r--r--regress/mdoc/Nd/noarg.out_markdown11
-rw-r--r--regress/mdoc/Nd/par.out_markdown17
4 files changed, 42 insertions, 0 deletions
diff --git a/regress/mdoc/Nd/Makefile b/regress/mdoc/Nd/Makefile
index d67804c4..d2f6e4b8 100644
--- a/regress/mdoc/Nd/Makefile
+++ b/regress/mdoc/Nd/Makefile
@@ -2,5 +2,6 @@
REGRESS_TARGETS = broken hyph noarg par
LINT_TARGETS = broken noarg
+MARKDOWN_TARGETS = hyph noarg par
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Nd/hyph.out_markdown b/regress/mdoc/Nd/hyph.out_markdown
new file mode 100644
index 00000000..c3153de2
--- /dev/null
+++ b/regress/mdoc/Nd/hyph.out_markdown
@@ -0,0 +1,13 @@
+ND-HYPH(1) - General Commands Manual
+
+# NAME
+
+**Nd-hyph** - when there is already a hyphen within the the word, line-breaking is permitted at that place
+
+# DESCRIPTION
+
+Even in the document description line in the
+*NAME*
+section.
+
+OpenBSD - October 5, 2013
diff --git a/regress/mdoc/Nd/noarg.out_markdown b/regress/mdoc/Nd/noarg.out_markdown
new file mode 100644
index 00000000..567b7c4d
--- /dev/null
+++ b/regress/mdoc/Nd/noarg.out_markdown
@@ -0,0 +1,11 @@
+ND-ARG0(1) - General Commands Manual
+
+# NAME
+
+**Nd-arg0** -
+
+# DESCRIPTION
+
+empty description line
+
+OpenBSD - January 2, 2011
diff --git a/regress/mdoc/Nd/par.out_markdown b/regress/mdoc/Nd/par.out_markdown
new file mode 100644
index 00000000..e6a25425
--- /dev/null
+++ b/regress/mdoc/Nd/par.out_markdown
@@ -0,0 +1,17 @@
+ND-PAR(1) - General Commands Manual
+
+# NAME
+
+**Nd-par** - paragraph macro
+after one-line description
+
+Usually, there shouldn't be additional text in the NAME section.
+
+# DESCRIPTION
+
+The text belongs here. - stray
+description macro
+
+Back to normal state.
+
+OpenBSD - February 3, 2015