-
-
Save jashkenas/591767 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app = require('express').createServer() | |
md = require('node-markdown').Markdown | |
app.get '/', (req, res) -> | |
res.send md "Hello, *world*! The time is\n\n**#{ new Date() }**" | |
app.listen 3000 | |
console.log 'Now listening on port 3000' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment