Optimizes inline markdown.