Javascript port of Reddit's "SnuDown" markdown parser.