Added attachment filetypes .md and .html, fixes #976