use markdown rewrite