800 Commits

Author SHA1 Message Date
Christopher Jeffrey
1fa5fb8bd8 fix paragraph rule. 2012-09-03 22:48:37 -05:00
Kitson Kelly
fd9066c145 add ability to escape | 2012-09-03 17:57:08 +01:00
Kitson Kelly
ac99b517de Migrate table support as part of GFM support 2012-09-03 17:28:06 +01:00
Kitson Kelly
39c6687c19 add support for Markdown Extra Tables 2012-09-03 17:09:12 +01:00
Christopher Jeffrey
1a2b02c669 Merge pull request #68 from isaacs/master
Add support for ~~~ fences in GHM
2012-08-17 16:29:54 -07:00
isaacs
c6a9e7284b Support ~~~ fences in GHM 2012-08-17 10:26:54 -07:00
isaacs
9acd75d971 Support running tests with 'npm test' 2012-08-17 10:26:38 -07:00
Christopher Jeffrey
d5b751323d add test for gfm links embedded in markup. 2012-07-19 13:27:29 -05:00
Christopher Jeffrey
ba024294a8 improve tag() to ensure it excludes autolinks always. 2012-07-13 11:48:44 -05:00
Christopher Jeffrey
05dc64b9da Avoid creating two paragraphs on autolink. Fixes #63.
This has implications for XML namespaced elements, which were
originally always treated as block elements by the top-level paragraph
rule. As a side-effect of this commit, they are now always considered
inline.
2012-07-13 11:29:05 -05:00
Christopher Jeffrey
d49ab2c6f5 v0.2.5 v0.2.5 2012-05-11 12:32:20 -05:00
Christopher Jeffrey
d44617a2dd refactor. make function syntax consistent. 2012-04-26 09:24:26 -05:00
Christopher Jeffrey
d3a7ec19e7 fix hr in list rule. rename "rule". 2012-04-26 09:19:15 -05:00
Christopher Jeffrey
f1ca351a22 Merge branch 'hr_list_break' 2012-04-24 13:56:05 -05:00
Christopher Jeffrey
20c70b35ff add tests for hr list break fix. 2012-04-24 00:04:50 -05:00
Christopher Jeffrey
028abf72fd refactor item/bullet/list regex 2012-04-22 17:19:08 -05:00
Christopher Jeffrey
8c46ecc105 never allow <hr> in list items, as per markdown.pl 2012-04-22 17:15:57 -05:00
Christopher Jeffrey
6646289edb fix list bullet hr confusion 2012-04-21 18:06:24 -05:00
Christopher Jeffrey
df762d3c4f fix bullet recognization in list rule. fixes #46. 2012-04-21 16:45:15 -05:00
Christopher Jeffrey
e30319528e v0.2.4 v0.2.4 2012-04-12 02:28:24 -05:00
Christopher Jeffrey
09717d791e improve wrapper 2012-04-12 02:27:41 -05:00
Christopher Jeffrey
f7be7f9640 fix potential problems with highlighter callback and escapes. 2012-04-11 01:57:17 -05:00
Christopher Jeffrey
b814a0af9b typo in readme 2012-04-06 16:09:31 -05:00
Christopher Jeffrey
041dd98ed4 change highlight option. add code class prefix. 2012-04-06 16:08:17 -05:00
Christopher Jeffrey
0e2ce6b638 touch up readme and man page 2012-04-06 15:49:46 -05:00
Christopher Jeffrey
78b0c6ef46 Merge pull request #42 from bmharris/7f57e5b797b304957fc5736de7b2e59e964afdb3
adding 'highlighter' as an option
2012-04-06 13:48:40 -07:00
Brad Harris
7f57e5b797 adding 'highlighter' as an option
while your readme shows you can fully support a highlighter by wrapping
marked and inspecting the tokens manually, it would be more performant
to not have to traverse the tokens another time to add highlighting.
2012-04-06 01:41:50 -06:00
Brad Harris
9880f22c4f returning 'marked' in setOptions to allow for fluent interface
allows for...

var marked = require('marked').setOptions({...});
2012-04-06 01:41:28 -06:00
Christopher Jeffrey
c66b9a735e v0.2.3 v0.2.3 2012-03-11 01:45:52 -06:00
Christopher Jeffrey
75053dd0c0 refactor test. dont use html prettifier. 2012-03-11 00:45:28 -06:00
Christopher Jeffrey
1bf3dc4bf7 quick and dirty test interface for clientside 2012-03-11 00:43:00 -06:00
Christopher Jeffrey
45fd7a24f8 avoid backreference in link regex 2012-03-10 16:47:38 -06:00
Christopher Jeffrey
1171a7b5b8 more conformant link rule. 2012-03-10 16:43:31 -06:00
Christopher Jeffrey
8d64bb4e2c v0.2.2 v0.2.2 2012-03-10 16:37:08 -06:00
Christopher Jeffrey
b804e8ed5b fix bin/marked options 2012-03-10 16:33:51 -06:00
Christopher Jeffrey
3430b72827 refactor, improve regexes. 2012-03-05 22:54:04 -06:00
Christopher Jeffrey
ef7917dcbb fix link titles. closes #36. refactor. 2012-03-05 21:27:04 -06:00
Christopher Jeffrey
7f9fd628af refactor. remove. 2012-02-29 22:36:45 -06:00
Christopher Jeffrey
f377ff524b only match http/https in gfm autolinks 2012-02-29 22:29:36 -06:00
Christopher Jeffrey
cdc2ab7396 v0.2.1 v0.2.1 2012-02-20 09:19:07 -06:00
Christopher Jeffrey
791cf53772 rename setDefaults to setOptions, refactor. update benchmarks. 2012-02-20 08:50:43 -06:00
Christopher Jeffrey
ad984d4f74 always reset options. typo. 2012-02-19 22:30:25 -06:00
Christopher Jeffrey
3e42b67057 always sanitize html blocks, even if pedantic. benchmarks. 2012-02-19 21:51:52 -06:00
Christopher Jeffrey
363a98b121 Merge branch 'add_options' 2012-02-19 21:38:00 -06:00
Christopher Jeffrey
b2189ab99c optimize options more 2012-02-19 21:29:23 -06:00
Christopher Jeffrey
79975978b0 add options: pedantic, gfm, sanitize. 2012-02-19 19:15:11 -06:00
Christopher Jeffrey
b202ceece6 v0.2.0 v0.2.0 2012-02-16 13:55:03 -06:00
Christopher Jeffrey
92aaea8fe5 nested underscore ems, fix tests 2012-02-16 12:18:07 -06:00
Christopher Jeffrey
852165f387 do not process inline markdown in PRE elements 2012-02-13 00:23:56 -06:00
Christopher Jeffrey
122dde03eb fix bugs url in package 2012-02-06 19:14:29 -06:00