aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/man-reader.man12
-rw-r--r--test/man-reader.native4
2 files changed, 15 insertions, 1 deletions
diff --git a/test/man-reader.man b/test/man-reader.man
index acda23a00..1ff714c14 100644
--- a/test/man-reader.man
+++ b/test/man-reader.man
@@ -207,3 +207,15 @@ site
.MT me@example.com
my email address.
.ME
+.SH Macros
+.de au
+.B
+Me Myself
+..
+.de auth !!
+.I
+The author is \$1.
+.!!
+.au
+and I.
+.auth "John Jones"
diff --git a/test/man-reader.native b/test/man-reader.native
index eb85c7440..dc64d1978 100644
--- a/test/man-reader.native
+++ b/test/man-reader.native
@@ -101,4 +101,6 @@ Pandoc (Meta {unMeta = fromList [("date",MetaInlines [Str "Oct",Space,Str "17,",
,Para [Str "Minus:",Space,Str "-"]
,Header 1 ("",[],[]) [Str "Links"]
,Para [Link ("",[],[]) [Str "some",Space,Str "randomsite"] ("http://example.com","")]
-,Para [Link ("",[],[]) [Str "my",Space,Str "email",Space,Str "address."] ("mailto:me@example.com","")]]
+,Para [Link ("",[],[]) [Str "my",Space,Str "email",Space,Str "address."] ("mailto:me@example.com","")]
+,Header 1 ("",[],[]) [Str "Macros"]
+,Para [Strong [Str "Me",Space,Str "Myself"],Space,Str "and",Space,Str "I.",Space,Emph [Str "The",Space,Str "author",Space,Str "is",Space,Str "John",Space,Str "Jones",Str "."]]]