aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Op
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Op')
-rw-r--r--regress/mdoc/Op/Makefile1
-rw-r--r--regress/mdoc/Op/break.out_markdown19
-rw-r--r--regress/mdoc/Op/broken.out_markdown19
-rw-r--r--regress/mdoc/Op/punct.out_markdown34
4 files changed, 73 insertions, 0 deletions
diff --git a/regress/mdoc/Op/Makefile b/regress/mdoc/Op/Makefile
index ab934a4e..2f3eeafb 100644
--- a/regress/mdoc/Op/Makefile
+++ b/regress/mdoc/Op/Makefile
@@ -2,6 +2,7 @@
REGRESS_TARGETS = break broken punct
LINT_TARGETS = break broken
+MARKDOWN_TARGETS = break broken punct
SKIP_GROFF = break
SKIP_ASCII = break
diff --git a/regress/mdoc/Op/break.out_markdown b/regress/mdoc/Op/break.out_markdown
new file mode 100644
index 00000000..edf3435e
--- /dev/null
+++ b/regress/mdoc/Op/break.out_markdown
@@ -0,0 +1,19 @@
+OP-BREAK(1) - General Commands Manual
+
+# NAME
+
+**Op-break** - partial explicit block broken by partial implicit block
+
+# DESCRIPTION
+
+before both
+\[inside first "inside both]
+inside second"
+after both
+
+0
+\[1 \[12 "123]]
+3"
+0
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Op/broken.out_markdown b/regress/mdoc/Op/broken.out_markdown
new file mode 100644
index 00000000..13a50141
--- /dev/null
+++ b/regress/mdoc/Op/broken.out_markdown
@@ -0,0 +1,19 @@
+OP-BROKEN(1) - General Commands Manual
+
+# NAME
+
+**Op-broken** - partial implicit block broken by partial explicit block
+
+# DESCRIPTION
+
+before both
+"inside first
+\[inside both" inside second]
+after both
+
+0
+"1
+\[12 \[123" 23]]
+0
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Op/punct.out_markdown b/regress/mdoc/Op/punct.out_markdown
new file mode 100644
index 00000000..114bd7af
--- /dev/null
+++ b/regress/mdoc/Op/punct.out_markdown
@@ -0,0 +1,34 @@
+OP-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Op-punct** - punctuation handling by the Op macro
+
+# DESCRIPTION
+
+at the beginning:
+(\[z]
+\[| z]
+\[. z]
+
+in the middle:
+\[a (z]
+\[a | z]
+\[a. z]
+
+at the end:
+\[a (]
+\[a |]
+\[a].
+
+punctuation only:
+(\[]
+\[|]
+\[].
+
+more than one:
+((\[]
+\[| |]
+\[]..
+
+OpenBSD - June 24, 2011