apply the markdown syntax