RDocView is a real-time viewer of RDoc/Markdown/Textile which used WebSocket.
gem install rdoc-view
rdoc-view [-p port] [-o addr] [-t type] [--html] filename -p port set the port (default is 4567) -o addr set the host (default is 0.0.0.0) -t type set the document type (rdoc,textile,md or markdown) if omits, judging from the extension -h, --html convert to html.
browse localhost:4567/ and edit filename by your favorite editor. Change of a file is detected and a rendering is carried out in real time.
$ rdoc-view README.md $ google-chrome http://localhost:4567/ & $ vim README.md ....
$ rdoc-view --html README.md > README.html
Japanese: mt.orz.at/archives/2012/11/realtimeviewerr.html
-
Google Chrome
-
Firefox
-
MIT License