aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.