@@ -1135,6 +1135,10 @@ storage. The "media bag" is used when pandoc is called with the
11351135: Returns a filename with a basename based on the SHA1 has of the
11361136 contents and an extension based on the mime type.
11371137
1138+ Returns:
1139+
1140+ - Filename based on SHA1 hash.
1141+
11381142 Usage:
11391143
11401144 local fp = pandoc.mediabag.hashname("plain/text", "foobar")
@@ -1145,6 +1149,11 @@ storage. The "media bag" is used when pandoc is called with the
11451149 Returns two values: the contents of the file and the mime
11461150 type (or an empty string).
11471151
1152+ Returns:
1153+
1154+ - the entries MIME type, or nil if the file was not found.
1155+ - contents of the file, or nil if the file was not found.
1156+
11481157 Usage:
11491158
11501159 local diagram_url = "https://pandoc.org/diagram.jpg"