extract markdown formatter