fdcd4ddd60
Defer loading of KaTeX JS and Bergamot support code
2023-12-30 19:56:14 -08:00
d7d7254a7b
Extract loading and closing bergamot into a helper script.
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-27 23:30:16 -08:00
7e8870de6c
Factor launching bergamot into a helper function
2023-12-27 13:27:20 -08:00
80cdea6932
Update rendering rules for changes to Bergamot.
2023-12-26 13:22:38 -08:00
85b81ffc98
Modify rendering rules to handle precedence
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-25 18:42:43 -08:00
b001bba3b8
Tweak rendering rules to support int(x) and str(x).
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-22 22:00:46 -08:00
6f0641f315
Render variables better
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-22 16:04:47 -08:00
dc9dbe8a0f
Update for bergamot requiring an 'input program' too
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-22 16:04:33 -08:00
a83268a6e3
Update use of the bergamot widget
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-21 17:26:19 -08:00
5c83f234c6
Include rendering rules in Bergamot widget.
...
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-03 00:03:08 -08:00
5041c90ac0
Add some partials to load and create a Bergamot widget.
...
I've set up some infrastructure to build and host a bergamot JS
file using Nix on static.danilafe.com.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-11-29 22:29:14 -08:00