@@ -537,6 +537,21 @@ tests =
537537 , test emacsMuse "Disable tables"
538538 ("#disable-tables t" =?>
539539 Pandoc (setMeta "disable-tables" (MetaInlines $ toList "t") nullMeta) mempty)
540+ , "Multiple directives" =:
541+ T.unlines [ "#title Document title"
542+ , "#subtitle Document subtitle"
543+ ] =?>
544+ Pandoc (setMeta "title" (MetaInlines $ toList "Document title") $
545+ setMeta "subtitle" (MetaInlines $ toList "Document subtitle") nullMeta) mempty
546+ , "Multiline directive" =:
547+ T.unlines [ "#title Document title"
548+ , "#notes First line"
549+ , "and second line"
550+ , "#author Name"
551+ ] =?>
552+ Pandoc (setMeta "title" (MetaInlines $ toList "Document title") $
553+ setMeta "notes" (MetaInlines $ toList "First line\nand second line") $
554+ setMeta "author" (MetaInlines $ toList "Name") nullMeta) mempty
540555 ]
541556 , testGroup "Anchors"
542557 [ "Anchor" =: