Replace text for markdown