Org reader: handle #+bibliography:
as metadata...
so that it can work with citeproc.
This commit is contained in:
parent
697c814286
commit
0124e8b095
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ a ~~> b = (a, b)
|
|||
keywordHandlers :: PandocMonad m => Map Text (OrgParser m ())
|
||||
keywordHandlers = Map.fromList
|
||||
[ "author" ~~> lineOfInlines `parseThen` collectLines "author"
|
||||
, "bibliography" ~~> fmap pure anyLine `parseThen` B.setMeta "bibliography"
|
||||
, "creator" ~~> fmap pure anyLine `parseThen` B.setMeta "creator"
|
||||
, "date" ~~> lineOfInlines `parseThen` B.setMeta "date"
|
||||
, "description" ~~> lineOfInlines `parseThen` collectLines "description"
|
||||
|
|
Loading…
Add table
Reference in a new issue