summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Em
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/Em
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Em')
-rw-r--r--regress/mdoc/Em/Makefile1
-rw-r--r--regress/mdoc/Em/font.out_markdown13
-rw-r--r--regress/mdoc/Em/noarg.out_markdown14
-rw-r--r--regress/mdoc/Em/punct.out_markdown85
4 files changed, 113 insertions, 0 deletions
diff --git a/regress/mdoc/Em/Makefile b/regress/mdoc/Em/Makefile
index 13de4337..b10c9d95 100644
--- a/regress/mdoc/Em/Makefile
+++ b/regress/mdoc/Em/Makefile
@@ -2,5 +2,6 @@
REGRESS_TARGETS = font noarg punct
LINT_TARGETS = noarg punct
+MARKDOWN_TARGETS = font noarg punct
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Em/font.out_markdown b/regress/mdoc/Em/font.out_markdown
new file mode 100644
index 00000000..fc851fe4
--- /dev/null
+++ b/regress/mdoc/Em/font.out_markdown
@@ -0,0 +1,13 @@
+EM-FONT(1) - General Commands Manual
+
+# NAME
+
+**Em-font** - changing fonts inside the emphasis macro
+
+# DESCRIPTION
+
+normal text
+*emphasis**bold**back*
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Em/noarg.out_markdown b/regress/mdoc/Em/noarg.out_markdown
new file mode 100644
index 00000000..7c3b984a
--- /dev/null
+++ b/regress/mdoc/Em/noarg.out_markdown
@@ -0,0 +1,14 @@
+EM-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Em-noarg** - emphasis macro without arguments
+
+# DESCRIPTION
+
+with argument
+*arg*
+no argument
+end of test document
+
+OpenBSD - January 19, 2011
diff --git a/regress/mdoc/Em/punct.out_markdown b/regress/mdoc/Em/punct.out_markdown
new file mode 100644
index 00000000..5d3e8524
--- /dev/null
+++ b/regress/mdoc/Em/punct.out_markdown
@@ -0,0 +1,85 @@
+EM-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Em-punct** - punctuation following an emphasis 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