X-Git-Url: https://git.armaanb.net/?p=lightcards-http.git;a=blobdiff_plain;f=convert;fp=convert;h=93f74234cb248d8c23e8d4a4f79e2b66df67cace;hp=88ec1d2261b998351c044e26610b8ad7f0c61238;hb=642345f4f7b58c624823ff57c9b85bee8ac332d7;hpb=8240e6d909f32fc58866bc86ea5352e8ea79d82d diff --git a/convert b/convert index 88ec1d2..93f7423 100755 --- a/convert +++ b/convert @@ -5,8 +5,8 @@ curl -O https://git.sr.ht/~armaan/lightcards/blob/main/man/lightcards-config.5 find . -type f -name 'lightcards**' -not -name '*min*' | \ while read i; do - groff -mandoc -T html ${i} > ${i}.html - minify ${i}.html > ${i}.min.html + pandoc --self-contained ${i} > ${i}.html --css man.css + minify ${i}.html > ${i}.min.html # minify doesn't support reading from stdin rm ${i}.html ${i} done