Replace relative url using marked instead