aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-09-08 09:07:55 -0700
committerJohn MacFarlane <[email protected]>2024-09-08 09:07:55 -0700
commit25b9314472f185860acf93911b729e12b2faad70 (patch)
treea590885ce80e098b47575a452ed05fcd0e9a1991 /pandoc-lua-engine/src
parentca017b3c43f4c3d9e8f190f28c86bc3b97412efe (diff)
Finishing touches on `--link-images`:
- Document in defaults file section of MANUAL. - Add to pandoc-lua-engine writer option marshalling. - Add to pandoc-server initialization of writer options.
Diffstat (limited to 'pandoc-lua-engine/src')
-rw-r--r--pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs5
1 files changed, 5 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 b2ae7383c..d033c495f 100644
--- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs
+++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs
@@ -120,6 +120,11 @@ typeWriterOptions = deftype "WriterOptions"
(pushViaJSON, writerHTMLMathMethod)
(peekViaJSON, \opts x -> opts{ writerHTMLMathMethod = x })
+ , property "link_images"
+ "Include links to images instead of embedding in ODT"
+ (pushBool, writerLinkImages)
+ (peekBool, \opts x -> opts{ writerLinkImages = x })
+
, property "html_q_tags"
"Use @<q>@ tags for quotes in HTML"
(pushBool, writerHtmlQTags)