diff options
Diffstat (limited to 'pandoc-lua-engine/src/Text')
| -rw-r--r-- | pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs | 13 |
1 files changed, 4 insertions, 9 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 0375059b0..8bdbb077f 100644 --- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs +++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs @@ -115,10 +115,10 @@ typeWriterOptions = deftype "WriterOptions" (pushExtensions, writerExtensions) (peekExtensions, \opts x -> opts{ writerExtensions = x }) - , property "highlight_style" - "Style to use for highlighting (nil = no highlighting)" - (maybe pushnil pushViaJSON, writerHighlightStyle) - (optional . peekViaJSON, \opts x -> opts{ writerHighlightStyle = x }) + , property "highlight_method" + "Method to use for code highlighting ('none'|'default'|'idiomatic'|style)" + (pushViaJSON, writerHighlightMethod) + (peekViaJSON, \opts x -> opts{ writerHighlightMethod = x }) , property "html_math_method" "How to print math in HTML" @@ -155,11 +155,6 @@ typeWriterOptions = deftype "WriterOptions" (pushBool, writerListOfTables) (peekBool, \opts x -> opts{ writerListOfTables = x }) - , property "listings" - "Use listings package for code" - (pushBool, writerListings) - (peekBool, \opts x -> opts{ writerListings = x }) - , property "number_offset" "Starting number for section, subsection, ..." (pushPandocList pushIntegral, writerNumberOffset) |
