add markdown to attachment types (see #30)