Commit Graph

617 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
3efcd101a2 fix(html-comments): changed regex to precent malformed long comment to freeze showdown
Closes #439
2017-10-02 05:18:10 +01:00
Estevao Soares dos Santos
0627e497e3 release 1.7.4 2017-09-08 20:47:46 +01:00
Estevao Soares dos Santos
8c593a4f11 feat(base64-wrapping): support for wrapping base64 strings
Wrapping base64 strings, which are usually extremely long lines of text, is now supported.
Newlines can be added arbitrarily, as long as they appear after the comma (,) character.

Closes #429
2017-09-08 20:46:01 +01:00
Jason Mitchell
ff24bdba9f fix(loader): allow AMD loader to be used within Node env
Because of the ordering of the loader, it's not possible use AMD within a Node environment.
2017-08-27 19:20:48 +01:00
Jason Mitchell
466a2eba94 fix(helper.isArray): replace a.constructor === Array with Array.isArray
a.constructor === Array is always falsey when you run showdown within Node's VM API.

Related to https://github.com/nodejs/node/issues/7351

Closes #425
2017-08-26 03:46:38 +01:00
Estevao Soares dos Santos
48ccbf848d chore(package): update sinon to version ^3.2 2017-08-23 23:06:06 +01:00
greenkeeper[bot]
d3217f1d86 chore(package): update sinon to version 3.1.0 (#419) 2017-08-23 23:03:46 +01:00
Estevao Soares dos Santos
671797dc61 fix changelog 2017-08-23 23:02:56 +01:00
Estevao Soares dos Santos
dedf130806 release v1.7.3 2017-08-23 22:56:30 +01:00
Estevao Soares dos Santos
cb2ef8a93c Merge branch 'develop' 2017-08-23 22:38:36 +01:00
Estevao Soares dos Santos
d8204e9bcd docs(README.md): small fix in README.md 2017-08-23 22:35:19 +01:00
Estevao Soares dos Santos
ff26c08904 feat(rawPrefixHeaderId): add option to prevent showdown from modifying the prefix
Setting this option to true will prevent showdown from modifying the
prefix. This might result in malformed IDs (if, for instance, the " char is
used in the prefix). Has no effect if prefixHeaderId is set to false.

Closes #409
2017-08-06 18:19:46 +01:00
Estevao Soares dos Santos
5284439edc fix(github flavor): add backslashEscapesHTMLTags to GFM flavor 2017-08-06 17:53:06 +01:00
Estevao Soares dos Santos
c266f62dde chore(readme.md): format and add references to readme.md 2017-08-06 17:51:29 +01:00
Estevao Soares dos Santos
1791cf0ebf feat(rawHeaderId): Remove only spaces, ' and " from generated header ids
This option removes only spaces, ' and " from generated Header IDs,
replacing them with dashes. This might generate malformed IDs.

Closes #409
2017-08-06 17:45:04 +01:00
greenkeeper[bot]
5fbff6f40a chore(package): update chai to version 4.0.2 (#396) 2017-08-05 03:40:09 +01:00
Estevao Soares dos Santos
fef110cccb Fix(tables): allow for one column table
Closes #406
2017-08-05 03:34:49 +01:00
Estevao Soares dos Santos
8f05be7788 fix(literalMidWordAsterisks): fix option no longer treat punctuation as word character
Closes #398
2017-08-05 02:52:03 +01:00
Estevão Soares dos Santos
7332582db3 chore(package): update sinon to version 2.4.0 (#417)
Closes #402
2017-08-05 01:51:09 +01:00
Estevão Soares dos Santos
dc20acb615 chore(package): update semver to version 5.4.1 (#416) 2017-08-05 01:50:02 +01:00
Estevao Soares dos Santos
209e9f134a release 1.7.2 2017-08-05 01:43:46 +01:00
Estevao Soares dos Santos
0bc7bd1bd8 Merge branch 'develop' 2017-08-05 01:39:24 +01:00
Estevao Soares dos Santos
51e46933a4 fix(tablesHeaderId): fix missmatch of option name
In code, the option appeared both as 'tableHeaderId' and 'tablesHeaderId',
although only the first form had effect. In documentation was referenced
as 'tablesHeaderId'.
Option is now fixed in code to reflex the documentation and table parser
accepts both forms, with and without an s.

Closes #412
2017-08-04 20:19:15 +01:00
Estevão Soares dos Santos
2f6b49aece Update README.md 2017-06-28 17:35:52 +01:00
Estevão Soares dos Santos
22203769a8 Update README.md 2017-06-28 17:35:06 +01:00
Estevão Soares dos Santos
b94acfadb6 chore: fix REAMDE.md
Closes #407
2017-06-28 17:34:47 +01:00
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