Federico Soave
d303e16d59
[lint] lint test/browser/index.js
2018-02-13 20:08:48 +01:00
Federico Soave
9fd5192b03
fix test in browser. Remember to fix() beforehand.
2018-02-13 20:01:53 +01:00
Federico Soave
2e2f547e3d
require node>=0.10 in package.json
2018-02-11 14:19:29 +01:00
Federico Soave
3b4e724cda
Merge remote-tracking branch 'marked/master' into lint
2018-02-09 05:28:28 +01:00
Josh Bruce
d96db058e1
Merge pull request #1046 from Feder1co5oave/uglifyjs
...
Use uglifyjs CLI instead of Gulp to minify
2018-02-08 23:05:35 -05:00
Federico Soave
dd855d71e7
update package-lock.json
2018-02-09 01:20:50 +01:00
Federico Soave
dd09a6862c
test the minified version with node test --minified
2018-02-09 01:18:57 +01:00
Federico Soave
2a8e6f6508
remove gulpfile
2018-02-09 00:33:18 +01:00
Federico Soave
1dc5ab0a17
drop gulp, use uglify-js3 instead. Do npm run build
to minify into marked.min.js
2018-02-08 20:15:53 +01:00
Federico Soave
df01551279
[ci] cache npm packages on travis
2018-02-08 19:15:33 +01:00
Federico Soave
555d851191
[ci] replace octal literal and don't lint on node 0.10 in travis
2018-02-08 19:15:32 +01:00
Federico Soave
a4644bf948
[ci] update node versions in travis.yml
2018-02-08 19:14:51 +01:00
Federico Soave
c345a82622
lint es5 code only
2018-02-08 19:14:50 +01:00
Federico Soave
d4db0b2e65
[lint] remove unused variable
2018-02-07 22:04:05 +01:00
Josh Bruce
735d4ceb14
Update README.md
2018-02-06 19:47:52 -05:00
Josh Bruce
8de10c4d58
Update README.md
2018-02-06 19:47:41 -05:00
Federico Soave
1bfed0377d
automatically lint test/index.js too
2018-02-02 17:13:36 +01:00
Federico Soave
6d2369d195
revert, local modules are put in PATH by npm automatically
2018-02-02 17:12:23 +01:00
Federico Soave
5c45ad6ded
use local copy of gulp to minify
2018-02-02 07:05:52 +01:00
Tony Brix
d73174d09c
set showdown version to *
2018-02-02 07:01:09 +01:00
Tony Brix
2ab2bafc4b
build minified file
2018-02-02 07:01:09 +01:00
Tony Brix
05e770d435
reformat text runner
2018-02-02 07:01:09 +01:00
Tony Brix
08e0873b48
add peer dependencies
2018-02-02 07:01:09 +01:00
Federico Soave
560c5cb13b
Merge branch 'master' into lint
2018-01-26 04:57:18 +01:00
Josh Bruce
6b0416d109
Merge pull request #1035 from Feder1co5oave/fix_hr
...
[commonmark] make thematic breaks (<hr>) compliant
2018-01-25 15:39:20 -05:00
Federico Soave
b8437b0742
fix underscore emphasis (apply commonmark flanking rule and rule 12)
2018-01-25 17:10:10 +01:00
Federico Soave
2ea539ad67
add commonmark test for thematic breaks
2018-01-25 17:08:13 +01:00
kythyria
1c780b9985
Fix the regexes for thematic breaks
...
Commonmark and GFM both agree that -_- is literal characters, not <hr>,
as all three characters must be the same.
Also change the test harness to only look for .text and .html files
since it was choking on vim's swapfiles.
And add some tests to catch what this fixes.
2018-01-25 17:08:13 +01:00
Josh Bruce
33b444c360
Merge pull request #1033 from Feder1co5oave/quotes_in_titles
...
Make legacy test literal_quotes_in_titles pass
2018-01-24 19:31:45 -05:00
Josh Bruce
eeb7ac5565
Merge pull request #1034 from Feder1co5oave/new_autolink
...
[commonmark]+[gfm] make autolinks compliant
2018-01-24 08:00:16 -05:00
Federico Soave
fac31ed978
allow matched double quotes in link definition title (markdown.pl behavior).
...
Test literal_quotes_in_titles now passes.
fixup! c3e00590
2018-01-23 17:03:08 +01:00
Federico Soave
49982e82cc
disable gfm for old markdown.pl test case
2018-01-23 16:29:32 +01:00
Federico Soave
f514b92b5b
exclude test 607 in gfm_links, which does not pass FIXME
2018-01-23 16:29:31 +01:00
Federico Soave
ca455a68de
gfm autolinks: backpedal on trailing punctuation
...
(see https://github.github.com/gfm/#extended-autolink-path-validation )
2018-01-23 16:29:31 +01:00
Federico Soave
187d46f294
email address domain must contain at least a dot and must not end with dash or underscore
2018-01-23 16:29:31 +01:00
Federico Soave
00f1f7a239
new gfm autolink rule: http/www URLs and email addresses
2018-01-23 16:29:31 +01:00
Federico Soave
ed6d145d22
remove non-compliant test case
2018-01-23 16:29:31 +01:00
Federico Soave
6cba7caad6
add gfm tests for autolinks
2018-01-23 16:29:31 +01:00
Federico Soave
b3769fc7a7
adjust mangle_xss test case to match commonmark output
2018-01-23 16:29:30 +01:00
Federico Soave
a8f2d7ff6e
new rule for autolinks, adjust html rules accordingly.
...
test 574 does not pass because of url encoding FIXME)
2018-01-22 19:03:15 +01:00
Federico Soave
dc85deedb7
add commonmark tests for autolinks
2018-01-22 19:03:14 +01:00
Cory Forsyth
6d974b1dbf
Do not autolink a trailing "!" in a URL
...
* Expand gfm link tests to include all possible ending punctuation
2018-01-22 19:03:14 +01:00
Josh Bruce
84c330b62b
Merge pull request #1029 from Feder1co5oave/fixup_456
...
Fix failing case
2018-01-22 11:25:52 -05:00
Federico Soave
d381127ca2
fix test case introduced in 4bbba32
2018-01-22 15:47:57 +01:00
Josh Bruce
1570f7a405
Merge pull request #944 from gibson042/document-xhtml
...
Document the xhtml option
2018-01-21 12:09:00 -05:00
Josh Bruce
46e40a4567
Merge pull request #711 from ojongerius/correct_readme
...
Values in example do not always match defaults.
2018-01-21 11:37:12 -05:00
Josh Bruce
024e378f43
Merge pull request #682 from Feder1co5oave/fix_typeerror
...
Throw error on non-string input
2018-01-20 17:16:11 -05:00
Josh Bruce
68aab24f7e
Merge pull request #1023 from Feder1co5oave/new_blockquote
...
[commonmark] Make blockquotes commonmark compliant
2018-01-20 17:14:44 -05:00
Josh Bruce
19f6afe4aa
Merge pull request #456 from Feder1co5oave/clean-segments
...
IDs of headings with inline tokens (link, em, bold...)
2018-01-20 16:09:27 -05:00
Josh Bruce
a98bad2430
Merge pull request #1013 from Feder1co5oave/fix-backticks2
...
fix backticks in inline code (replaces #503 , fixes #312 )
2018-01-20 15:46:19 -05:00