summaryrefslogtreecommitdiffstats
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
commit6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 (patch)
treee6edc639916f43b52d2efb638f3621e9b9f65207 /regress/mdoc/Nd
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
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