mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-23 08:46:56 +00:00
pandoc-lua-engine: marshall list_tables, epub_title_page writer options.
This commit is contained in:
@@ -95,6 +95,11 @@ typeWriterOptions = deftype "WriterOptions"
|
||||
(pushPandocList pushString, writerEpubFonts)
|
||||
(peekList peekString, \opts x -> opts{ writerEpubFonts = x })
|
||||
|
||||
, property "epub_title_page"
|
||||
"Determines whether a title page is included in EPUB"
|
||||
(pushBool, writerEpubTitlePage)
|
||||
(peekBool, \opts x -> opts{ writerEpubTitlePage = x })
|
||||
|
||||
, property "epub_metadata"
|
||||
"Metadata to include in EPUB"
|
||||
(maybe pushnil pushText, writerEpubMetadata)
|
||||
@@ -195,6 +200,11 @@ typeWriterOptions = deftype "WriterOptions"
|
||||
(pushBool, writerSetextHeaders)
|
||||
(peekBool, \opts x -> opts{ writerSetextHeaders = x })
|
||||
|
||||
, property "list_tables"
|
||||
"Render tables using list tables in RST output"
|
||||
(pushBool, writerListTables)
|
||||
(peekBool, \opts x -> opts{ writerListTables = x })
|
||||
|
||||
, property "slide_level"
|
||||
"Force header level of slides"
|
||||
(maybe pushnil pushIntegral, writerSlideLevel)
|
||||
|
||||
Reference in New Issue
Block a user