doc/lua-filters.md: improve docs for pandoc.mediabag.insert
This commit is contained in:
parent
364fe4a03b
commit
57e56ed55c
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue