apply markdown.