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