#!/bin/bash echo "# List Of All Logos" > ../all_logos.md echo "Generated using \`./tools/render_all.sh\`, powered by [typst](https://typst.app)" >> ../all_logos.md while read -r logo; do echo "$logo" PF_ASCII=$logo "$@" > ./tmp || exit 1 mkdir -p ../assets/logos typst compile -f svg renderer.typ ../assets/logos/"$logo".svg || exit 1 echo "## $logo" >> ../all_logos.md echo "" >> ../all_logos.md echo "" >> ../all_logos.md done < ./all_logos.txt rm tmp