brew install pandoc
curl https://raw.githubusercontent.com/surprisetalk/worstpress/main/build.sh > build.sh
chmod a+x build.shecho 'hello world' > src/index.md
./build.sh 'https://example.com'nano template.htmlbrew install http-server
http-server distbrew install watch
watch -t -n 0.5 ./build.shAlternatively, rebuild only on file change:
npm install --global watch-cli
watch -p "*.html" -p "src/*" -c "./build.sh"