Code example page generation

The code examples page is generated via the following script (and then Hugo simply takes the .md files and builds them into the website).

This page is made with the following script:

# Delete everything (except index page and generationScript page)
mv _index.md bruh
mv how.md bruh2
rm *.md
mv bruh _index.md
mv bruh2 how.md

rm -rf tFiles

# Fetch current testing files
mkdir tFiles
cd tFiles
wget --mirror http://deavmi.assigned.network/projects/tdists/May/a1c6eb9c748fc8836140329f2bc63bd03a282d2a/src/source/tlang/testing/ -l 1 -nd
cd ..

p=0

for i in $(ls tFiles)
do
        # Output filename
        file="$p.md"
        echo "---" > "$file"
        echo "title: $i" >> "$file"
        echo "tags: [codeExample]" >> "$file"
        echo -e "---\n" >> "$file"
        echo -e "# Example: \`$i\`\n" >> "$file"
        echo -e "\`\`\`d" >> "$file"
        cat "tFiles/$i" >> "$file"
        echo -e "\`\`\`" >> "$file"

        p=$(($p+1))
done
>> Home