add simple distinguish of markdown and rest markup.