markdown and math processing