Commit Graph

691 Commits

Author SHA1 Message Date
Tobi
1194d8803e fix(githubMentions): githubMentions now works with openLinksInNewWindow options
githubMentions links can now be opened in new windows when using the option openLinksInNewWindow

Closes #403
2017-06-22 03:16:53 +01:00
greenkeeper[bot]
796896cb35 chore(package): update sinon to version 2.3.3 (#399) 2017-06-12 16:18:14 +01:00
Estevao Soares dos Santos
a2259c063b fix(lists): fix multi paragraph lists with sublists
Paragraphed lists with sublists were being parsed incorrectly due to
workaround realted with simpleLineBreaks. This commit fixes this.

Closes #397
2017-06-07 03:33:20 +01:00
Estevão Soares dos Santos
d28bbb159c Update CHANGELOG.md 2017-06-07 03:02:22 +01:00
Estevao Soares dos Santos
5a5aff6721 feat(backslashEscapesHTMLTags): backslash escapes HTML tags
Add support for HTML tag escaping with backslash

Closes #374
2017-06-02 04:48:53 +01:00
Estevao Soares dos Santos
4109aae068 docs: update changelog minor error 2017-06-02 03:35:18 +01:00
Estevao Soares dos Santos
ce3150e74a release 1.7.1 2017-06-02 03:32:04 +01:00
Estevao Soares dos Santos
427859b3f7 chore: remove strayed counter 2017-06-02 03:30:01 +01:00
Estevao Soares dos Santos
6566c72cc1 fix(HTML Parser): fix nasty bug where malformed HTML would hang showdown
When feeding malformed HTML to showdown, the library would enter an infinite loop,
effectively halting showdown's execution.

Closes #393
2017-06-02 03:29:29 +01:00
Estevao Soares dos Santos
1eee6afe29 release 1.7.0 2017-06-01 02:44:43 +01:00
Estevao Soares dos Santos
6a1f289d39 Merge remote-tracking branch 'origin/master' into develop 2017-06-01 02:39:47 +01:00
Estevão Soares dos Santos
6f39722da2 chore(package): update source-map-support to version 0.4.15 (#391)
https://greenkeeper.io/
2017-06-01 02:38:34 +01:00
Marinin Tim
94c570a9d8 feat(customizeHeaderId): add option for customizing header ids
It’s useful for non-Latin texts, where header might be, for example, in Russian, but user wants id to be in English. This feature allows user to set id for header manually, using curly braces:

    ## Привет, мир {hello-world}

Closes #383
2017-06-01 02:35:42 +01:00
greenkeeper[bot]
5fd847b4b1 fix(package): update yargs to version 8.0.1 (#385) 2017-06-01 02:30:16 +01:00
Estevao Soares dos Santos
30aa18c003 fix(url parsing): fix url edge case parsing in images and links
Allow some edge cases to parse correctly. Example:
`![img](.images/cat(1).png)`,
`![img](<.image(1)/cat(1).png>)`,
`[link](<>)`
2017-05-30 04:11:00 +01:00
Estevao Soares dos Santos
230f443442 test: add tests for issue #390 2017-05-28 17:30:18 +01:00
流年
7ba18dd81f fix(anchors): fix issue with brackets in link URL
Closes #390
2017-05-28 17:25:56 +01:00
Estevao Soares dos Santos
6fbc072c2c fix(HTML parsing): fix HTML parsing issues with nested tags
Deeply nested HTML tags and recursive tags broke the HTML parser.

Closes #357, closes #387
2017-05-28 17:20:07 +01:00
Estevao Soares dos Santos
813f832160 fix(openLinksInNewWindow): encode _ to prevent clash with em
Closes #379
2017-04-25 22:13:27 +01:00
Estevao Soares dos Santos
71acff5757 fix(excludeTrailingPunctuationFromURLs): fix weird character when this option with simplifiedAutoLinks
Closes #378
2017-04-23 02:14:56 +01:00
Estevao Soares dos Santos
1bca88f8fa test: add several testcases 2017-04-23 02:04:13 +01:00
Estevao Soares dos Santos
f3dff7b0cf Merge branch 'master' into develop 2017-04-23 01:59:53 +01:00
Miguel Laginha
5bec8f9e9a feat(literalMidWordAsterisks): add option for mid word asterisks
Implements feature similar to ignoring midword underscores but with asterisks. The main use case is ignoring cursing.
2017-04-05 16:25:20 +01:00
Estevao Soares dos Santos
50235d6951 feat(openLinksInNewWindow): add option to open all links in a new window
Closes #362, #337, #249, #247, #222
2017-03-31 00:25:40 +01:00
Estevao Soares dos Santos
0c6c07b341 feat(images): add support for image's implicit reference syntax
Closes #366
2017-03-30 23:35:28 +01:00
Estevao Soares dos Santos
f1eab2a7f2 Merge branch 'master' into develop 2017-03-30 23:17:56 +01:00
simo
3e22fc658c Reset options before switching to a flavor (#365)
fix(flavors): reset options before switching to a flavor
2017-03-30 23:17:10 +01:00
Estevao Soares dos Santos
fa47938b81 blame: last commit introduced a bug 2017-03-15 02:49:20 +00:00
Estevao Soares dos Santos
fa35fd5e7e fix(excludeTrailingPunctuationFromURL): add comma to punctuation list
Closes #354
2017-03-09 00:43:45 +00:00
Estevao Soares dos Santos
759a334e13 Merge branch 'master' into travis3 2017-03-05 05:34:49 +00:00
Estevao Soares dos Santos
d49f7320f2 chore: change donation method to paypal 2017-03-05 05:34:06 +00:00
Estevao Soares dos Santos
266769dfbf test(travis): add node 7 to travis 2017-03-05 05:23:20 +00:00
Estevao Soares dos Santos
41b93915af chore: update README.md to include appveyor badge 2017-03-05 05:21:42 +00:00
Estevao Soares dos Santos
97a29541a4 Merge branch 'master' into develop 2017-03-05 05:09:52 +00:00
Estevão Soares dos Santos
c6ac36d9f2 test(appveyor): add appveyor testing
Add testing on windows environment
2017-03-05 05:08:52 +00:00
Estevao Soares dos Santos
602dcb149f test(legacyExtension): remove legacy extension test 2017-03-05 04:27:08 +00:00
Estevão Soares dos Santos
cee6be6808 chore(travis): add support for node 0.10 in travis (#351)
* make logs more beautiful
* make command more readable in travis.yml
2017-03-05 03:50:04 +00:00
Estevão Soares dos Santos
93fecc8650 chore(travis): add support for node 0.12 in travis 2017-03-05 02:49:13 +00:00
Estevao Soares dos Santos
37df574b7a Merge remote-tracking branch 'origin/master' into develop 2017-03-04 20:29:20 +00:00
greenkeeper[bot]
9308d7b89d fix(package): update yargs to version 7.0.1 (#349)
https://greenkeeper.io/
2017-03-04 07:15:23 +00:00
Estevao Soares dos Santos
5c50675cca fix(simpleAutoLinks): URLs with emphasis/strikethrough are parsed
correctly

When a user enters a URL with emphasis or strikethrough, the html output
were incorrect.
Now, URLs inside emphasis or strikethrough are parsed corerctly

Closes #347
2017-02-26 19:13:52 +00:00
Estevao Soares dos Santos
1ebc1959dd fix(tables): pipe char can now be escaped
Pipe character is now treated as a special markdown char,
which makes it possible to escape it.

Closes #345
2017-02-21 14:13:12 +00:00
Estevao Soares dos Santos
5d40c7a0ee chore: remove old performance logs 2017-02-14 00:32:17 +00:00
Estevao Soares dos Santos
072973ab8b release 1.6.4 2017-02-06 07:23:22 +00:00
Estevao Soares dos Santos
6374b5b376 feat(flavor: ghost): add Ghost flavor 2017-02-06 07:22:01 +00:00
Estevao Soares dos Santos
4a88db364c bump package.json 2017-02-06 07:06:29 +00:00
Estevao Soares dos Santos
605d8b7b05 fix(encodeEmail): now produces valid emails
Closes #340
2017-02-06 06:50:52 +00:00
Estevao Soares dos Santos
368f0b6309 fix(flavor: github): new version of github does not use prefix 'user-content' in headers
New version of GFM does not add a 'user-content-' before generated header ids.
This matches the new spec.
2017-02-06 05:39:41 +00:00
Estevao Soares dos Santos
f641a7de90 fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id
If an invalid prefix was passed (a string with spaces, for instance),
the string would be added as is. This ould generate invalid ids.
Also, this makes `prefixHeaderId` option play nicely with `ghCompatibleHeaderId`, since they will
follow the same escaping rules when both options are enabled.
2017-02-06 05:37:49 +00:00
Estevao Soares dos Santos
41cb3f6b7f fix(hashCodeTags): escape code tags
Previously, `<code>` tags were not escaped. This was counter intuitive since ´<pre><code>` tags
were being escaped. Now both pre code and code are escaped.

Closes #339
2017-02-06 05:09:52 +00:00