summaryrefslogtreecommitdiff
path: root/js/markdown
AgeCommit message (Collapse)Author
2014-10-18Use browserify to make js code more modular.John MacFarlane
* Moved js library code to `js/lib`. * `js/stmd.js` is now generated from these files using browserify. * Factored out `html5-entities.js` and `from-code-point.js` from main js parsing code (which is now `index.js`). * Moved `js/markdown` to `js/bin`.
2014-09-04Fix the output of the JS `markdown` executable.yamadapc
Previously, because of `console.log` semantics, if you ran: ``` make test PROG=js/markdown ``` You'd get a couple of errors caused by `console.log` calls putting `\n` line breaks where they shouldn't. This fixes that by using `process.stdout.write` instead of `console.log`. This isn't something really important, but it's nice for all the provided executables to pass the test suite.
2014-08-13Initial commitJohn MacFarlane