Better HN
topnewbestaskshowjobs
Log inSign up

wsimson

1 karma · joined Sep 22, 2019 (7y ago) · 4 submissions

Submissions

comment 6y ago · link · parent

pelican-katex integrates LaTeX rendering directly into the pelican generation process and eliminates the delay in displaying math you usually experience on the web. It does so by hooking itself into docutils' reStructuredText parser as well as the markdown package and processing the formulas with KaTeX. The generated HTML pages only contain the finished HTML/MathML output. Therefore, you do not need to ship the KaTeX javascript implementation with your website anymore and improve the accessibility as well as the load time of your internet presence.

For a demo visit this blog post. Notice how all the formulas are just there. There is no loading and the website does not even serve the javascript part of KaTeX.

2.

LaTeX Pre-Rendering for Pelican(github.com ↗)

1 points · by wsimson · 6y ago · 1 comment

comment 6y ago · link · parent

For faster server-side rendering, this is a good, though relatively unknown resource:

https://github.com/cqql/pelican-katex

comment 6y ago · link · parent

I think this might be what you're looking for: https://github.com/cqql/pelican-katex