aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Li
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/Li
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Li')
-rw-r--r--regress/mdoc/Li/Makefile1
-rw-r--r--regress/mdoc/Li/font.out_markdown13
-rw-r--r--regress/mdoc/Li/punct.out_markdown86
3 files changed, 100 insertions, 0 deletions
diff --git a/regress/mdoc/Li/Makefile b/regress/mdoc/Li/Makefile
index f5afd199..1e1a4b93 100644
--- a/regress/mdoc/Li/Makefile
+++ b/regress/mdoc/Li/Makefile
@@ -2,5 +2,6 @@
REGRESS_TARGETS = punct font
LINT_TARGETS = punct
+MARKDOWN_TARGETS = punct font
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Li/font.out_markdown b/regress/mdoc/Li/font.out_markdown
new file mode 100644
index 00000000..d0ce39d0
--- /dev/null
+++ b/regress/mdoc/Li/font.out_markdown
@@ -0,0 +1,13 @@
+LI-FONT(1) - General Commands Manual
+
+# NAME
+
+**Li-font** - changing fonts inside the literal in-line macro
+
+# DESCRIPTION
+
+normal text
+`literal*emphasis*back`
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Li/punct.out_markdown b/regress/mdoc/Li/punct.out_markdown
new file mode 100644
index 00000000..fcfc83b3
--- /dev/null
+++ b/regress/mdoc/Li/punct.out_markdown
@@ -0,0 +1,86 @@
+LI-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Li-punct** - punctuation following a literal 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