aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Fl
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/Fl
parentc5e1be4e43835ff8cb2512039246bd4ea5ec4c2e (diff)
downloadmandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.gz
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.tar.zst
mandoc-fa99e371284a414ce8b13892006df003d31a0e37.zip
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/Fl')
-rw-r--r--regress/mdoc/Fl/Makefile1
-rw-r--r--regress/mdoc/Fl/font.out_markdown13
-rw-r--r--regress/mdoc/Fl/multiarg.out_markdown17
-rw-r--r--regress/mdoc/Fl/noarg.out_markdown22
-rw-r--r--regress/mdoc/Fl/punct.out_markdown42
5 files changed, 95 insertions, 0 deletions
diff --git a/regress/mdoc/Fl/Makefile b/regress/mdoc/Fl/Makefile
index e9e01a19..b024856e 100644
--- a/regress/mdoc/Fl/Makefile
+++ b/regress/mdoc/Fl/Makefile
@@ -1,5 +1,6 @@
# $OpenBSD: Makefile,v 1.8 2014/08/21 12:56:24 schwarze Exp $
REGRESS_TARGETS = noarg multiarg parsed punct font
+MARKDOWN_TARGETS = noarg multiarg punct font
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Fl/font.out_markdown b/regress/mdoc/Fl/font.out_markdown
new file mode 100644
index 00000000..cb48c802
--- /dev/null
+++ b/regress/mdoc/Fl/font.out_markdown
@@ -0,0 +1,13 @@
+FL-FONT(1) - General Commands Manual
+
+# NAME
+
+**Fl-font** - changing fonts inside the flag macro
+
+# DESCRIPTION
+
+normal text
+**-bold*emphasis*back**
+trailing text
+
+OpenBSD - July 9, 2012
diff --git a/regress/mdoc/Fl/multiarg.out_markdown b/regress/mdoc/Fl/multiarg.out_markdown
new file mode 100644
index 00000000..065c7742
--- /dev/null
+++ b/regress/mdoc/Fl/multiarg.out_markdown
@@ -0,0 +1,17 @@
+FL-MULTIARG(1) - General Commands Manual
+
+# NAME
+
+**Fl-multiarg** - multiple arguments to a Fl macro
+
+# DESCRIPTION
+
+Each group of flags in
+**-a** **-b** **-c** **-def**
+gets its own dash.
+
+Punctuation characters like in
+\[**-a** | **-b**]
+get no dash.
+
+OpenBSD - December 24, 2009
diff --git a/regress/mdoc/Fl/noarg.out_markdown b/regress/mdoc/Fl/noarg.out_markdown
new file mode 100644
index 00000000..9edc191d
--- /dev/null
+++ b/regress/mdoc/Fl/noarg.out_markdown
@@ -0,0 +1,22 @@
+FL-NOARG(1) - General Commands Manual
+
+# NAME
+
+**Fl-noarg** - Fl macro without arguments
+
+# DESCRIPTION
+
+Without an argument, it yields
+**-**
+a dash.
+
+This is true even before middle
+**-** | **-and**
+trailing punctuation
+**-**.
+
+Following macros
+**-** \[flag]
+follow without white space.
+
+OpenBSD - August 21, 2014
diff --git a/regress/mdoc/Fl/punct.out_markdown b/regress/mdoc/Fl/punct.out_markdown
new file mode 100644
index 00000000..aba7054d
--- /dev/null
+++ b/regress/mdoc/Fl/punct.out_markdown
@@ -0,0 +1,42 @@
+FL-PUNCT(1) - General Commands Manual
+
+# NAME
+
+**Fl-punct** - punctuation handling by the Fl macro
+
+# DESCRIPTION
+
+closing punctuation
+**-a**)
+only one
+**-**)
+only more than one
+**-**))
+middle
+**-a**) **-z**
+start
+**-**) **-z**
+dot
+**-**. **-z**
+comma
+**-**, **-z**
+semicolon
+**-**; **-z**
+colon
+**-**: **-z**
+quest
+**-**? **-z**
+excl
+**-**! **-z**
+paren
+**-**) **-z**
+bracket
+**-**] **-z**
+bar
+**-** | **-m**
+op paren
+(**-a**
+op bracket
+\[**-a**
+
+OpenBSD - August 21, 2014