fix the link markup with markdown