blob: 4c0e38782de362c1e467d5191b63c95602745da3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
set -e
for i in $(find $(realpath $(dirname $0)/../__site) -name *.html)
do
echo Removing KaTeX HTML from $i
t=$(mktemp)
htmlq --remove-nodes .katex-html < $i > $t
mv $t $i
done
|