Let me share something I have learned about #KaTeX: never ever use its macro support. For any non-trivial web page, this can basically bring your browser to its knees... the performance is THAT BAD.
It is apparently not optional to instead pre-expand all macros prior to handing things to KaTeX. This is what #Forester does.
KGJS is a #JavaScript engine that takes a description of an interactive graph and renders that graph in a browser. Fundamentally, it uses a number open-source JavaScript technologies – #D3 for drawing 2D diagrams, #MathBox for drawing 3D diagrams, mathjs for easy math description, #KaTeX for displaying math...
https://kineticgraphs.org/
#javascript #d3 #mathbox #Katex
For example, to enable #KaTeX math mode in #Element Desktop on Linux, you can drop the following file in ~/.config/Element/config.json !
https://gist.github.com/Steffo99/bd6842b3173c638b8d68bbbb46cd5a6e
For example, to enable #KaTeX math mode in #Element Desktop on Linux, you can drop the following file in ~/.config/Element/config.json !
https://gist.github.com/Steffo99/bd6842b3173c638b8d68bbbb46cd5a6e
Just installed #fedilab from #fdroid. Works well so far but doesn't support math formula rendering as seen, for instance, on the web view of the #mathstodon instance (I guess #mathml, #katex or #mathjax) Does anyone know if this is possible in such a client?
#mathjax #Katex #mathml #mathstodon #fdroid #fedilab
9 of #100DaysToOffload: Embedding a #JavaScript Library (#KaTeX) in #Golang
https://hjr265.me/blog/embedding-a-javascript-library-katex-in-go/
#100DaysToOffload #javascript #Katex #golang
Thinking about giving #zola #ssg a try. I'm currently more interested in experimenting with it, rather than actually deploy a blog or something (don't have anything interesting to write ATM).
On the other hand, I see that for writing #latex some Zola's themes use #katex to render the formulas at runtime. This confronts directly with my intention to have everything rendered at compilation time, and try to narrow #javascript presence to (nearly) zero.
Link to Zola: https://www.getzola.org/
#zola #ssg #latex #Katex #javascript
Wonderful! I can automatically catalog book references, text quotes, and KaTeX snippets for quick rendering in blog posts and pages. All without a database!
Here's the basic output for what will soon be a very detailed reading catalog: https://1ijk.dev/library/
I've done this using gohugo.io shortcodes and data pipes, storing everything in Gitlab.com