Christopher Jeffrey
2eb297cda3
undo main.text change for benchmark comparisons, refactor test/index.js
2012-01-28 16:55:21 -06:00
Christopher Jeffrey
9df1c5bd09
more conformant loose list check
2012-01-28 16:44:54 -06:00
Christopher Jeffrey
5ab3970e95
refactor bin/marked
2012-01-28 13:28:48 -06:00
Christopher Jeffrey
5809d6ad8d
smarter whitespace handling for list items
2012-01-28 13:04:28 -06:00
Christopher Jeffrey
9bbb0b71e1
conformance: allow spaced blockquotes
2012-01-28 06:01:21 -06:00
Christopher Jeffrey
623f71a6b9
add man page, refactor cli, change package.json
2012-01-27 16:31:41 -06:00
Christopher Jeffrey
60f0d2b9f2
bump version for html fix
v0.1.8
2012-01-25 14:58:04 -06:00
Christopher Jeffrey
6f2757add6
change html regex
2012-01-25 05:04:27 -06:00
Christopher Jeffrey
c69f5f071d
rename elements(), return a regex for a block-level tag name
2012-01-24 18:56:32 -06:00
Christopher Jeffrey
bb190a248c
make html regex ungreedy, avoid v8 bug. closes #23 .
2012-01-24 18:34:08 -06:00
Christopher Jeffrey
59c468c96c
ignore inline elements for self-closing block-level html tags
2012-01-24 17:28:50 -06:00
Christopher Jeffrey
beaedc06cd
version 0.1.7
v0.1.7
2012-01-21 09:34:17 -06:00
Christopher Jeffrey
cf784699ba
refactor, function names
2012-01-21 09:28:53 -06:00
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
983e1eaa6e
tests, add linkdef test to toplevel_paragraphs
2012-01-19 01:35:26 -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
c5664e4bbf
add more tests
2012-01-16 22:44:19 -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
2a44eb3087
version
v0.1.6
2012-01-15 07:15:25 -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
91bb13c714
add markdown test suite's backslash escape test
2012-01-14 04:57:24 -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
ac880f0b79
Merge branch 'fixes'
2012-01-11 09:27:31 -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
a731a41f44
fix benchmark
2012-01-09 08:57:58 -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
676420e6b5
fix test
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
92abc01196
more tests
2012-01-09 06:56:25 -06:00
Christopher Jeffrey
02a125ba0f
potential changes
2012-01-06 16:44:48 -06:00