downtown
v0.0.2
Published
An updating markdown previewer in a browser
Downloads
4
Readme
downtown
An updating markdown previewer in a browser
. . | . . .
* . | . .
. /-\ . . .
. . . |"""| : .
. /"""""\ . * |>.
| # # # | . /\| ___
__ ___ ___ . |# # # #| ___ ___/<>\ |:::|
/ ""| __|~~| |'''| |# # # #||"""| __|"""|^^| |:::|
/""""| |::|''|~~~~||_____ |# # # #||"""|-|::|"""|''|_| |
|""""| |::|''|""""|:::::| |# # # #||"""|t|::|"""|''|"""""|
|""""|_| |''|""""|:::::| |# # # #||"""|||::|"""|''""""""|
|""""|::::|''|""""|:::::| |# # # #||"""|||::|"""|''""""""|
credit: www.retrojunkie.com/asciiart/building/skylines.htm
getting started
install node package globally
$ npm install -g downtown
cd into project root and start server
$ cd project
$ ls project
src/
README.md
$ downtown
open browser to (http://localhost:6969/README.md)
$ echo "# Whoa it updates..." | cat - README.md > temp && mv temp README.md # updates
check back to browser and look for changes
requirements
- browser must support HTML5
EventStream
- OS must support npm package
node-watch
which depends on the unstablefs.watch