aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-02-04 19:07:59 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-02-04 19:07:59 +0100
commit57e56ed55cd278e6c7eb8cf2a0f4b9fa4160781e (patch)
tree1f92015fae330151bb902778e45c4ea4f183713f /doc
parent364fe4a03b97f04586194c49e15891ba9a639944 (diff)
downloadpandoc-57e56ed55cd278e6c7eb8cf2a0f4b9fa4160781e.tar.gz
doc/lua-filters.md: improve docs for `pandoc.mediabag.insert`
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 3b3c03727..a99dc9008 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -3084,7 +3084,8 @@ Clear-out the media bag, deleting all items.
`insert (filepath, mime_type, contents)`
-Adds a new entry to pandoc's media bag.
+Adds a new entry to pandoc's media bag. Replaces any existing
+mediabag entry with the same `filepath`.
Parameters:
@@ -3092,7 +3093,7 @@ Parameters:
: filename and path relative to the output folder.
`mime_type`:
-: the file's MIME type
+: the file's MIME type; use `nil` if unknown or unavailable.
`contents`:
: the binary contents of the file.