Mdviewer(mdv) is a markdown server, it displays markdown files in your broswer.
git clone https://github.com/zyfdegh/mdviewer.git
go get github.com/russross/blackfriday
cd mdviewer && ./build.sh
cd bin && ./mdv ../README.md
Open your favourite web browser and type:
127.0.0.1:8080
README.md should be styled and displayed in the web page.
If you feel good and want to use 'mdv' command in system wide, copy bin/* to $PATH.
For Unix/Linux/MacOS:
cp bin/* /usr/local/bin
For Windows:
copy bin\* C:\Windows\System32\
Install broswer plugin like Auto-Refresh to refresh web page automatically if you're using Google Chrome.
This project was mainly inspired by ryanuber/readme-server
Call-web-broswer: Call system default web browser to open a url zyfdegh/call-web-broswer.