Allmark is a lightweight markdown web server written in go by developer Andreas Koch.
To install I performed the following commands:
sudo su
curl -s --insecure https:/allmark.io/bin/files/allmark_linux_amd64 > /usr/local/bin/allmark
chmod +x /usr/local/bin/allmarkI then navigated to the directory I wanted to serve and executed:
cd path/to/your/repository
allmark initNext I opened .allmark/config and changed the "Enabled" key to true to enable livereload when the content is being edited.
...
"LiveReload": {
"Enabled": true
},
...
Finally, I executed allmark serve and navigated to http://localhost:33001.
Of note, when files or folders are added/renamed/deleted/etc., allmark will need to be restarted for the changes to take effect. Go to the terminal where allmark is running and execute CTRL+c, then restart with allmark serve.
This page was last updated: Sat 28 Oct 2017 10:54:46 AM EDT