Added options to applymarkdown