Extract KaTeX handling into a program

This commit is contained in:
2022-03-27 18:47:07 -07:00
parent 17e18872bf
commit ac1eec35ec
4 changed files with 112 additions and 9 deletions

View File

@@ -15,6 +15,4 @@ mkdir $out
cp -r public/$publicPath/* $out/
# Render math in HTML and XML files.
node $server &
sleep 1
find $out/ -regex "$out/.*\.html" | xargs ruby $converter
find $out/ -regex "$out/.*\.html" | xargs katex-html