replace markdown with marked