@@ -3084,7 +3084,8 @@ Clear-out the media bag, deleting all items.
30843084
30853085`insert (filepath, mime_type, contents)`
30863086
3087−Adds a new entry to pandoc's media bag.
3087+Adds a new entry to pandoc's media bag. Replaces any existing
3088+mediabag entry with the same `filepath`.
30883089
30893090Parameters:
30903091
@@ -3092,7 +3093,7 @@ Parameters:
30923093: filename and path relative to the output folder.
30933094
30943095`mime_type`:
3095−: the file's MIME type
3096+: the file's MIME type; use `nil` if unknown or unavailable.
30963097
30973098`contents`:
30983099: the binary contents of the file.