embed

fun embed(contentId: String, content: ByteArray, contentType: String, name: String = contentId.substringBefore('@'))(source)

Embed a file that the HTML body references via cid:<contentId>.