summaryrefslogtreecommitdiff
path: root/doc/lua-filters.md
diff options
context:
space:
mode:
authorElliot Bobrow <77182873+ebobrow@users.noreply.github.com>2022-06-14 16:00:18 -0700
committerGitHub <noreply@github.com>2022-06-14 17:00:18 -0600
commit6ff4972ca9ed194aae36d6a3cdfa90e4050713da (patch)
treed711040fa3d94fd3ff0dc262da9015b646abc51e /doc/lua-filters.md
parent7244821705859037c763e1aae9ab35eaa5d9f05e (diff)
add `--embed-resources` flag (#8121)
* Add `--embed-resources` flag for `--self-contained` without implying `--standalone` * Deprecate `--self-contained flag` Closes #7331
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r--doc/lua-filters.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 9f3bb6928..f64c77298 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -686,7 +686,7 @@ Images are added to the mediabag. For output to binary formats,
pandoc will use images in the mediabag. For textual formats, use
`--extract-media` to specify a directory where the files in the
mediabag will be written, or (for HTML only) use
-`--self-contained`.
+`--embed-resources`.
``` lua
-- Pandoc filter to process code blocks with class "abc" containing
@@ -694,7 +694,7 @@ mediabag will be written, or (for HTML only) use
--
-- * Assumes that abcm2ps and ImageMagick's convert are in the path.
-- * For textual output formats, use --extract-media=abc-images
--- * For HTML formats, you may alternatively use --self-contained
+-- * For HTML formats, you may alternatively use --embed-resources
local filetypes = { html = {"png", "image/png"}
, latex = {"pdf", "application/pdf"}
@@ -3779,7 +3779,7 @@ Usage:
The `pandoc.mediabag` module allows accessing pandoc's media
storage. The "media bag" is used when pandoc is called with the
-`--extract-media` or (for HTML only) `--self-contained` option.
+`--extract-media` or (for HTML only) `--embed-resources` option.
The module is loaded as part of module `pandoc` and can either
be accessed via the `pandoc.mediabag` field, or explicitly