summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Rs
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/Rs
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Rs')
-rw-r--r--regress/mdoc/Rs/Makefile1
-rw-r--r--regress/mdoc/Rs/allch.out_markdown50
-rw-r--r--regress/mdoc/Rs/args.out_markdown19
-rw-r--r--regress/mdoc/Rs/break.out_markdown30
-rw-r--r--regress/mdoc/Rs/empty.out_markdown18
-rw-r--r--regress/mdoc/Rs/three_authors.out_markdown14
6 files changed, 132 insertions, 0 deletions
diff --git a/regress/mdoc/Rs/Makefile b/regress/mdoc/Rs/Makefile
index 3732dc0a..374b386a 100644
--- a/regress/mdoc/Rs/Makefile
+++ b/regress/mdoc/Rs/Makefile
@@ -3,6 +3,7 @@
REGRESS_TARGETS = allch args break empty three_authors
UTF8_TARGETS = allch break empty three_authors
LINT_TARGETS = allch args empty
+MARKDOWN_TARGETS = allch args break empty three_authors
# groff-1.22.3 defect:
# - arguments after .Rs cause the macro to be ignored
diff --git a/regress/mdoc/Rs/allch.out_markdown b/regress/mdoc/Rs/allch.out_markdown
new file mode 100644
index 00000000..7faac2a3
--- /dev/null
+++ b/regress/mdoc/Rs/allch.out_markdown
@@ -0,0 +1,50 @@
+RS-ALLCH(1) - General Commands Manual
+
+# NAME
+
+**Rs-allch** - reference block using all supported child macros
+
+# DESCRIPTION
+
+reference on the same line:
+some
+*bogus*
+text
+author name,
+"title of article",
+*book title*,
+*issuer name*,
+*journal name*,
+report name,
+number of journal,
+volume number,
+uniform resource locator,
+page number,
+institutional author,
+city name,
+date of publication,
+optional information.
+
+# SEE ALSO
+
+reference after a blank line:
+
+some
+*bogus*
+text
+author name,
+"title of article",
+*book title*,
+*issuer name*,
+*journal name*,
+report name,
+number of journal,
+volume number,
+uniform resource locator,
+page number,
+institutional author,
+city name,
+date of publication,
+optional information.
+
+OpenBSD - July 7, 2014
diff --git a/regress/mdoc/Rs/args.out_markdown b/regress/mdoc/Rs/args.out_markdown
new file mode 100644
index 00000000..a9416b34
--- /dev/null
+++ b/regress/mdoc/Rs/args.out_markdown
@@ -0,0 +1,19 @@
+RS-ARGS(1) - General Commands Manual
+
+# NAME
+
+**Rs-args** - arguments on a reference block header line
+
+# SEE ALSO
+
+initial text
+
+author name,
+*book title*.
+middle text
+
+author name,
+*book title*.
+final text
+
+OpenBSD - February 4, 2015
diff --git a/regress/mdoc/Rs/break.out_markdown b/regress/mdoc/Rs/break.out_markdown
new file mode 100644
index 00000000..361f5bf0
--- /dev/null
+++ b/regress/mdoc/Rs/break.out_markdown
@@ -0,0 +1,30 @@
+RS-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Rs-break** - line break before reference start
+
+# DESCRIPTION
+
+reference on the same line:
+author,
+*journal*,
+42\.
+
+# SEE ALSO
+
+reference after a blank line:
+
+author,
+*journal*,
+42\.
+
+# SEE *ALSO*
+
+reference after a blank line:
+
+author,
+*journal*,
+42\.
+
+OpenBSD - April 15, 2014
diff --git a/regress/mdoc/Rs/empty.out_markdown b/regress/mdoc/Rs/empty.out_markdown
new file mode 100644
index 00000000..9c8ff4a1
--- /dev/null
+++ b/regress/mdoc/Rs/empty.out_markdown
@@ -0,0 +1,18 @@
+RS-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Rs-empty** - empty reference blocks
+
+# DESCRIPTION
+
+initial text
+final text
+
+# SEE ALSO
+
+initial text
+
+final text
+
+OpenBSD - February 4, 2015
diff --git a/regress/mdoc/Rs/three_authors.out_markdown b/regress/mdoc/Rs/three_authors.out_markdown
new file mode 100644
index 00000000..66456f37
--- /dev/null
+++ b/regress/mdoc/Rs/three_authors.out_markdown
@@ -0,0 +1,14 @@
+RS-THREE\_AUTHORS(1) - General Commands Manual
+
+# NAME
+
+**Rs-three\_authors** - listing three authors in a reference block
+
+# AUTHORS
+
+kristaps,
+joerg, and
+ingo,
+*mandoc*.
+
+OpenBSD - May 1, 2009