about summary refs log tree commit diff homepage
path: root/_libs/onlymathml
blob: 5e49d377e9e72d88d74bf2f79455748de95cabd6 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
set -ex
for i in $(find . -name *.html)
do
  t=$(mktemp)
  htmlq --remove-nodes .katex-html < $i > $t
  mv $t $i
done