I've been casting about for a way to show mathematical symbols easily in these blog postings. This problem has of course already been solved. There are a number of options, such as MathJax and KaTex for example.

I've chosen MathJax as it seems a bit simpler and more appropriate to my needs.

To get it working here on Squarespace I found a good example on Stackoverflow. In short, go to settings->advanced and then to the code injection section.

In the header put:

<script type="text/javascript" src="//">

In the footer put:


And before you can say "Algebraic!", here is a lovely equation:

$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

Posted on January 14, 2016 and filed under data.