aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Sm
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Sm')
-rw-r--r--regress/mdoc/Sm/Makefile1
-rw-r--r--regress/mdoc/Sm/badarg.out_markdown14
-rw-r--r--regress/mdoc/Sm/noarg.out_markdown18
-rw-r--r--regress/mdoc/Sm/spacing-No.out_markdown47
-rw-r--r--regress/mdoc/Sm/spacing-Op.out_markdown49
-rw-r--r--regress/mdoc/Sm/twoarg.out_markdown19
6 files changed, 148 insertions, 0 deletions
diff --git a/regress/mdoc/Sm/Makefile b/regress/mdoc/Sm/Makefile
index 197b1d74..a79ee73b 100644
--- a/regress/mdoc/Sm/Makefile
+++ b/regress/mdoc/Sm/Makefile
@@ -2,6 +2,7 @@
REGRESS_TARGETS = noarg badarg scope spacing-No spacing-Op twoarg
LINT_TARGETS = badarg twoarg
+MARKDOWN_TARGETS = noarg badarg spacing-No spacing-Op twoarg
SKIP_TMAN ?= scope
diff --git a/regress/mdoc/Sm/badarg.out_markdown b/regress/mdoc/Sm/badarg.out_markdown
new file mode 100644
index 00000000..86c8cd6f
--- /dev/null
+++ b/regress/mdoc/Sm/badarg.out_markdown
@@ -0,0 +1,14 @@
+SM-BADARG(1) - General Commands Manual
+
+# NAME
+
+**Sm-badarg** - spacing macro with invalid arguments
+
+# DESCRIPTION
+
+**-f** *on*
+**-f**‌*off* bad
+**-f** *bad* (on)
+bad**-f**‌*bad*(off)
+
+OpenBSD-July 3, 2014
diff --git a/regress/mdoc/Sm/noarg.out_markdown b/regress/mdoc/Sm/noarg.out_markdown
new file mode 100644
index 00000000..3b0d089b
--- /dev/null
+++ b/regress/mdoc/Sm/noarg.out_markdown
@@ -0,0 +1,18 @@
+SM-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Sm-noarg** - spacing macro without arguments
+
+# DESCRIPTION
+
+**-f** *on*
+**-f**‌*off*
+**-f** *toggle* (now on)
+**-f** *on*
+**-f**‌*toggle*(nowoff)
+
+**-f** *on*
+on a new line
+
+OpenBSD - July 2, 2014
diff --git a/regress/mdoc/Sm/spacing-No.out_markdown b/regress/mdoc/Sm/spacing-No.out_markdown
new file mode 100644
index 00000000..b2487962
--- /dev/null
+++ b/regress/mdoc/Sm/spacing-No.out_markdown
@@ -0,0 +1,47 @@
+SM-SPACING(1) - General Commands Manual
+
+# NAME
+
+**Sm-spacing** - basic tests of spacing mode
+
+# SYNOPSIS
+
+**mandoc**
+**-T**‌*mode*
+*file ...*
+
+# DESCRIPTION
+
+text1
+text2 text3
+text4
+
+text1
+text2 text3
+macro4
+
+text1
+macro2macro3
+text4
+
+text1
+macro2macro3
+macro4
+
+macro1
+text2 text3
+text4
+
+macro1
+text2 text3
+macro4
+
+macro1
+macro2macro3
+text4
+
+macro1
+macro2macro3
+macro4
+
+OpenBSD - July 4, 2010
diff --git a/regress/mdoc/Sm/spacing-Op.out_markdown b/regress/mdoc/Sm/spacing-Op.out_markdown
new file mode 100644
index 00000000..9f4f15ae
--- /dev/null
+++ b/regress/mdoc/Sm/spacing-Op.out_markdown
@@ -0,0 +1,49 @@
+SM-SPACING-OP(1) - General Commands Manual
+
+# NAME
+
+**Sm-spacing-Op** - spacing mode, demonstrated using the .Op macro
+
+# SYNOPSIS
+
+**mandoc**
+**-T**‌*mode*
+*file ...*
+
+# DESCRIPTION
+
+text1
+text2 text3
+text4
+
+text1
+text2 text3
+\[macro4]
+
+text1
+\[macro2macro3]
+text4
+
+text1
+\[macro2\[macro3]]
+\[macro4]
+
+\[macro1]
+text2 text3
+text4
+
+\[macro1]
+text2 text3
+\[macro4]
+
+\[macro1]
+\[macro2\[macro3]]
+text4
+
+\[macro1]
+\[macro2\[macro3]]
+\[macro4]
+
+\[macro1]
+
+OpenBSD - July 4, 2010
diff --git a/regress/mdoc/Sm/twoarg.out_markdown b/regress/mdoc/Sm/twoarg.out_markdown
new file mode 100644
index 00000000..0951e672
--- /dev/null
+++ b/regress/mdoc/Sm/twoarg.out_markdown
@@ -0,0 +1,19 @@
+SM-TWOARG(1) - General Commands Manual
+
+# NAME
+
+**Sm-twoarg** - spacing macro with multiple arguments
+
+# DESCRIPTION
+
+**default**:
+**-f** *on*
+**off two**:
+two**-f**‌*off*
+**badtwo**: bad two
+**-f** *off*
+**on two**:
+two
+**-f** *on*
+
+OpenBSD - November 26, 2014