diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-06-29 16:43:27 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-06-29 17:03:33 +0200 |
commit | d17b257c89624ceea6bd319caa22aa25e95fb5e9 (patch) | |
tree | 47e3091488105ab70f49e904c5238e7d2fb3392d /src/Text | |
parent | 11dc9f84f54650037c60917435fd91a90f94f9cf (diff) | |
download | pandoc-d17b257c89624ceea6bd319caa22aa25e95fb5e9.tar.gz |
Org reader: allow multiple #+SUBTITLE export settings
The values of all lines are read as inlines and collected in the
`subtitle` metadata field.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/Org/Meta.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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") |