Other pull request (https://github.com/RatanShreshtha/DeepThought/pull/12) introduced KaTeX global support. That's too big for my use case as not all pages have a formula. There isn't a need to download KaTeX script on each page.
This PR is a copy-paste of KaTeX support from base.html to page.htnl with change of flag reference.
Other pull request (https://github.com/RatanShreshtha/DeepThought/pull/12) introduced KaTeX global support. That's too big for my use case as not all pages have a formula. There isn't a need to download KaTeX script on each page.
This PR is a copy-paste of KaTeX support from
base.html
topage.htnl
with change of flag reference.