pandoc-lua-engine: marshall list_tables, epub_title_page writer options.

This commit is contained in:
John MacFarlane
2024-09-08 09:42:20 -07:00
parent 7a569b9c8f
commit 477e235f6e
@@ -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)