Commit Graph

849 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
21194c8a03 fix(literalMidWordAsterisks): no longer treats colon as alphanumeric char
Closes #461
2017-11-17 15:23:23 +00:00
Estevao Soares dos Santos
dd7efb5a8a test: small test refactoring 2017-11-16 18:34:02 +00:00
Estevao Soares dos Santos
5d70b921b1 release 1.8.2 2017-11-11 13:34:05 +00:00
Estevao Soares dos Santos
11936ecb77 fix(openLinksInNewWindow): hash links are not affected by the option
Closes #457
2017-11-11 13:19:19 +00:00
Estevao Soares dos Santos
c956ede4e7 fix(fenced codeblocks): add tilde as fenced code block delimiter
Closes #456
2017-11-11 12:29:36 +00:00
Estevao Soares dos Santos
616a789e79 release 1.8.1 2017-11-01 20:31:55 +00:00
Estevão Soares dos Santos
4792cd597c
Update README.md 2017-11-01 18:44:04 +00:00
greenkeeper[bot]
906b26db0d fix(package): update yargs to version 10.0.3 (#447) 2017-10-26 02:51:35 +01:00
greenkeeper[bot]
10e5b37555 chore(package): update source-map-support to version 0.5.0 (#440) 2017-10-26 02:51:19 +01:00
Estevão Soares dos Santos
da7c56fd56 test(appveyor): remove testing on node 0.10 and 0.12 2017-10-26 02:50:09 +01:00
Estevao Soares dos Santos
13c1766b94 release 1.8.0 2017-10-24 17:15:55 +01:00
Estevao Soares dos Santos
25f1978666 feat(ellipsis): add auto-ellipsis support
Three dots `...` are now converted automatically into an ellipsis
2017-10-24 17:06:08 +01:00
Estevao Soares dos Santos
084b819b14 feat(underline): add EXPERIMENTAL support for underline
Syntax is:
```
__double underscores__
or
___triple unserscores___
```
Keep in mind that, with this option enabled, underscore no longer
parses as `<em>` or `<strong>`

Closes #450
2017-10-24 16:46:40 +01:00
Estevao Soares dos Santos
9cdc35e705 feat(ol start num): add support for defining the first num of ol
Implement support for starting ordered lists at an arbitrary number

Closes #377
BREAKING CHANGE: Since showdown now supports starting ordered lists
at an arbitrary number, list output may differ.
2017-10-24 15:15:56 +01:00
Estevao Soares dos Santos
5b8f1d312f feat(emoji): add emoji support
Add unicode emoji support to showdown. To enable this feature,
use `emoji: true` option. A list of supported emojis is
available here: https://github.com/showdownjs/showdown/wiki/Emojis

Closes #448
2017-10-24 13:44:49 +01:00
Estevao Soares dos Santos
61929bb262 fix(autolinks): prevent _ and * to be parsed in links
Closes #444
2017-10-24 10:22:13 +01:00
Estevao Soares dos Santos
32800a14a8 refactor: escaped characters within tag attributes 2017-10-24 09:27:08 +01:00
Estevao Soares dos Santos
e862e242f7 refactor: add colon to escaped chars in images and anchors 2017-10-24 09:25:44 +01:00
Estevao Soares dos Santos
87b1422064 release 1.7.6 2017-10-06 12:55:23 +01:00
Estevao Soares dos Santos
66bdd21312 fix(tables): trailing spaces no longer prevent table parsing
If there were a trailing space following the closing | of a single column
table, the table does not get rendered. This fixes the issue.

Closes #442
2017-10-06 12:52:20 +01:00
Estevao Soares dos Santos
d88b095f05 fix(tables): tables are properly rendered when followed by a single linebreak and a list
Closes #443
2017-10-06 12:38:01 +01:00
Estevao Soares dos Santos
a207da1d5f fix changelog 2017-10-02 05:23:43 +01:00
Estevao Soares dos Santos
2701516048 Merge branch 'develop' 2017-10-02 05:21:59 +01:00
Estevao Soares dos Santos
1033467d8b release 1.7.5 2017-10-02 05:21:06 +01:00
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
Estevão Soares dos Santos
01111aa538 Update DONATIONS.md 2017-10-01 23:47:03 +01:00
Estevão Soares dos Santos
3ee677897b Create DONATIONS.md 2017-10-01 23:44:46 +01:00
Estevão Soares dos Santos
6e485382d3 Update README.md 2017-10-01 23:39:35 +01:00
Estevão Soares dos Santos
406b165d19 Update CONTRIBUTING.md 2017-09-29 12:26:53 +01:00
Estevão Soares dos Santos
395e61cd2f Update CONTRIBUTING.md 2017-09-29 12:13:10 +01:00
greenkeeper[bot]
16915355fc chore(package): update sinon to version 4.0.0 (#435) 2017-09-29 03:46:39 +01:00
greenkeeper[bot]
74d57c1648 fix(package): update yargs to version 9.0.1 (#432) 2017-09-29 03:46:18 +01:00
greenkeeper[bot]
d99caf3430 chore(package): update grunt-contrib-uglify to version 3.1.0 (#430) 2017-09-29 03:45:58 +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