Generate and deploy a single static page from a markdown file. Partially inspired by this tweet.
Why is it named Swampnutz? Great question!
- Node 10+
npm
version 5.2.0 or higher (npx
support required!)
Run npx swampnutz my_markdown_file.md
Install globally with npm install -g swampnutz
.
Now you can use swampnutz markdown_file.md
. Follow the prompts to make a surge account and have fun!
Optionally, you may pass in a title with --title
npx swampnutz my_markdown_file.md --title "Look at me"
To quickly publish a markdown page on the live internet with as little to no friction as possible.