diff options
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r-- | doc/lua-filters.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index d60957a2e..2a9646dfd 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -2450,6 +2450,18 @@ e.g.: local mb = require 'pandoc.mediabag' +### delete {#mediabag-delete} + +`delete (filepath)` + +Removes a single entry from the media bag. + +Parameters: + +`filepath`: +: filename of the item to be deleted. The media bag will be + left unchanged if no entry with the given filename exists. + ### empty {#mediabag-empty} `empty ()` |