Christopher Jeffrey
ad71273e40
more conformance for blockquote
2012-01-20 22:51:25 -06:00
Christopher Jeffrey
e3457cd41d
clean up spacing for rules
2012-01-20 06:07:41 -06:00
Christopher Jeffrey
b5239417e5
allow headings with no trailing newlines. closes #22 .
2012-01-20 05:15:19 -06:00
Christopher Jeffrey
2112d32e38
move def lower in paragraph rule
2012-01-18 09:34:09 -06:00
Christopher Jeffrey
a1f2bce65f
create link definition rule. update benchmark times.
2012-01-18 09:09:51 -06:00
Christopher Jeffrey
9270abf5ff
Finally faster than discount.
2012-01-16 22:59:05 -06:00
Christopher Jeffrey
b52e40a322
use faster text rule
2012-01-16 22:55:52 -06:00
Christopher Jeffrey
2ea9105093
drop other em/strong behaviors
2012-01-16 22:38:56 -06:00
Christopher Jeffrey
18e61dc365
refactor inline/block element determination
2012-01-16 22:38:20 -06:00
Christopher Jeffrey
3175953d0c
add potential strong/em behavior, dont check cap[1] in code rule
2012-01-14 21:08:48 -06:00
Christopher Jeffrey
6fbb30588b
a more understanding em/strong behavior
2012-01-14 04:18:24 -06:00
Christopher Jeffrey
8bc19d831d
wrap naked inline html elements
2012-01-14 03:40:05 -06:00
Christopher Jeffrey
5d83d1e375
check for href property on links
2012-01-14 03:33:28 -06:00
Christopher Jeffrey
714080ef9e
move some tests around, whitespace
2012-01-14 03:27:06 -06:00
Christopher Jeffrey
5f7edf47ed
Prepare ship for ludicrous speed.
...
Make sure to eat extra newlines at the end of certain block rules.
This avoids an extra iteration for `space` tokens.
Marked is now roughly 97% or 98% the speed of Discount.
2012-01-13 05:29:20 -06:00
Christopher Jeffrey
3296d10f18
handle unescaped angle brackets in attribute. closes #12 .
2012-01-11 02:01:16 -06:00
Christopher Jeffrey
bb382e3425
clean up list rule
2012-01-10 14:35:58 -06:00
Christopher Jeffrey
0e21e429e7
more compliant blockquote rule
2012-01-10 14:12:28 -06:00
Christopher Jeffrey
c201cb9720
make > escapable. closes #13 .
2012-01-09 11:58:03 -06:00
Christopher Jeffrey
62b278ac67
allow differing bullets in lists. closes #16 .
2012-01-09 08:57:50 -06:00
Christopher Jeffrey
f42020b896
allow naked sqaure brackets inside link text. closes #20 .
2012-01-09 08:57:25 -06:00
Christopher Jeffrey
6a0678dd09
better nested em/strong. closes #15 .
2012-01-09 08:56:56 -06:00
Christopher Jeffrey
8905bcf222
more compliant lazy blockquotes. closes #19 .
2012-01-09 08:56:35 -06:00
Christopher Jeffrey
ccd0d4bc10
allow lazy blockquotes
2012-01-09 08:56:35 -06:00
Christopher Jeffrey
65559c7ce9
allow nested <code>. closes #18 .
2012-01-09 08:56:22 -06:00
Christopher Jeffrey
679848d4ad
allow parens around link reference definitions. closes #17 .
2012-01-09 08:55:19 -06:00
Christopher Jeffrey
3cbd8e7a0f
make references case insensitive. closes #11 .
2012-01-09 06:59:16 -06:00
Christopher Jeffrey
be5fa849f7
ignore links without urls. closes #14 .
2012-01-09 06:57:57 -06:00
Christopher Jeffrey
02a125ba0f
potential changes
2012-01-06 16:44:48 -06:00
Christopher Jeffrey
6387415fdf
organize long regexes better
2012-01-06 14:44:39 -06:00
Christopher Jeffrey
c216a1ee7e
add paragraph test, refactor, change comments
2012-01-06 01:07:45 -06:00
Christopher Jeffrey
0ccf2d7c82
version, comment
2012-01-04 01:59:00 -06:00
Christopher Jeffrey
60de96800e
remove toplevel html block check, change language class
2012-01-04 01:43:40 -06:00
Christopher Jeffrey
e207549e9d
remove old inline rules, comments, whitespace
2012-01-03 23:10:50 -06:00
Christopher Jeffrey
8fac45b984
add language class, obscure conformance things for top-level paragraphs
2012-01-03 21:43:38 -06:00
Christopher Jeffrey
332072ffed
pass toplevel state to blockquotes, get rid of extra paragraph rules
2012-01-03 15:29:28 -06:00
Christopher Jeffrey
73113644cb
add paragraph token, fix paragraph rule
2012-01-03 14:16:31 -06:00
Christopher Jeffrey
75bf7ec7ed
remove scratch paper
2012-01-03 13:58:22 -06:00
Christopher Jeffrey
6c7d9f1f54
robust paragraph rule, scratch paper, remove comments
2012-01-03 13:56:58 -06:00
Christopher Jeffrey
cab5ccc1f0
update readme, switch text and paragraph rule, comments
2012-01-03 11:13:36 -06:00
Christopher Jeffrey
5d4fed5c7a
ridiculous optimization
2012-01-03 03:36:03 -06:00
Christopher Jeffrey
10e58d5b14
update readme and license
2012-01-03 00:44:51 -06:00
Christopher Jeffrey
298a437d9b
fix for top-level lists, add tests, comments
2012-01-03 00:18:49 -06:00
Christopher Jeffrey
b6f4397781
make list item regex consistent, whitespace
2012-01-03 00:09:45 -06:00
Christopher Jeffrey
c94db866bf
gfm autolinks and em underscores. more compliant strong and em.
2012-01-02 23:59:13 -06:00
Christopher Jeffrey
a6a3239df8
add gfm code blocks
2012-01-02 04:10:23 -06:00
Christopher Jeffrey
f749958500
output newlines, closes #10
2011-12-30 19:30:32 -06:00
Christopher Jeffrey
d094c548ac
String.prototype.type = 'text' scares me
2011-12-17 16:42:05 -06:00
Christopher Jeffrey
02a6a99121
refactor, move code block line feed check to lexer
2011-12-06 09:52:44 -06:00
Christopher Jeffrey
c8f26acd12
improve bin/marked, slice off trailing line feeds from code
2011-12-04 21:47:31 -06:00