First, go to the layout for your blog posts, and pipe the page’s contents through a latex filter that we’ll create in a moment: > {# before: #} > {​{ content | safe }} > {# after: #} > {​{ content | latex | safe }}