From d17b257c89624ceea6bd319caa22aa25e95fb5e9 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Mon, 29 Jun 2020 16:43:27 +0200 Subject: Org reader: allow multiple #+SUBTITLE export settings The values of all lines are read as inlines and collected in the `subtitle` metadata field. --- src/Text/Pandoc/Readers/Org/Meta.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Org/Meta.hs b/src/Text/Pandoc/Readers/Org/Meta.hs index 3e77b3f42..c922403df 100644 --- a/src/Text/Pandoc/Readers/Org/Meta.hs +++ b/src/Text/Pandoc/Readers/Org/Meta.hs @@ -79,6 +79,7 @@ exportSettingHandlers = Map.fromList , ("date" , lineOfInlines `parseThen` setField "date") , ("description", lineOfInlines `parseThen` collectLines "description") , ("keywords" , lineOfInlines `parseThen` collectLines "keywords") + , ("subtitle" , lineOfInlines `parseThen` collectLines "subtitle") , ("title" , lineOfInlines `parseThen` collectLines "title") -- LaTeX , ("latex_class", fmap pure anyLine `parseThen` setField "documentclass") -- cgit v1.2.3