Adds support for a dt-math element to the distill template, and replaces instances here which will enable server side rendering before publishing. I suspect the repeated use of renderMath() from the assets/lib/auto-render.min.js is what is causing the reported slowdown in firefox which i will address in a subsequent pull request.
I didn't super, double check that all the formula are rendering correctly, that is why I'm doing a pull request for @gabgoh instead of just pushing this change.
Adds support for a
dt-math
element to the distill template, and replaces instances here which will enable server side rendering before publishing. I suspect the repeated use ofrenderMath()
from theassets/lib/auto-render.min.js
is what is causing the reported slowdown in firefox which i will address in a subsequent pull request.I didn't super, double check that all the formula are rendering correctly, that is why I'm doing a pull request for @gabgoh instead of just pushing this change.