Add HTML preview for markdown type