diff options
| author | John MacFarlane <[email protected]> | 2024-09-08 09:42:20 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-09-08 09:42:20 -0700 |
| commit | 477e235f6e7ceabe3748cfdd2b67ccc42ae2df88 (patch) | |
| tree | b56dbb2c712e4a686e20b8fdddd70506104af7e5 /pandoc-lua-engine/src/Text | |
| parent | 7a569b9c8f4129558ffd796b4c7f046ece65a9b6 (diff) | |
pandoc-lua-engine: marshall list_tables, epub_title_page writer options.
Diffstat (limited to 'pandoc-lua-engine/src/Text')
| -rw-r--r-- | pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs index d033c495f..16118e8c2 100644 --- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs +++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs @@ -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) |
