Commit Graph

667 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
187123fed5 release 1.8.5 2017-12-10 19:13:26 +00:00
Estevao Soares dos Santos
63d949f731 feat(metadata): add support for embedded metadata
A simple metadata parser can be useful in markdown documents.
This commit introduces the feature, with the following syntax:

--- or ««« at tstart of the document,
(optionally) followed by a alphanumeric format identifier
followed by key value pairs separated by a colon and a space
followed by --- or ÂÂÂ

Also, adds methods for retrieving the parsed metadata, namely:

getMetadata() and getMetadataFormat

Closes #260
2017-12-10 07:15:09 +00:00
Estevao Soares dos Santos
a8427c9423 feat(completeHTMLOutput): add option to output a complete HTML document 2017-12-10 04:49:24 +00:00
Estevao Soares dos Santos
cc19d9b3e0 update package.json 2017-12-09 19:13:05 +00:00
Estevao Soares dos Santos
27f4d604b4 update donors 2017-12-09 18:54:58 +00:00
Estevao Soares dos Santos
512eab62e8 release 1.8.4 2017-12-05 01:17:04 +00:00
Estevao Soares dos Santos
4ef4c5e674 fix(tables): raw html inside code tags in tables no longer breaks tables
Under certains conditions, raw html inside code tags in tables would break
table parsing. This commit fixes that.

Closes #471
2017-12-05 01:13:11 +00:00
Estevao Soares dos Santos
32541e6894 release 1.8.3 2017-11-28 03:10:00 +00:00
Estevao Soares dos Santos
d6203320aa test: add issue 467 test 2017-11-28 03:07:28 +00:00
Estevao Soares dos Santos
68ea13097d Merge branch 'master' into develop 2017-11-28 02:55:06 +00:00
Estevão Soares dos Santos
d4741dd4ef
Update .travis.yml 2017-11-28 02:52:46 +00:00
Estevão Soares dos Santos
0b645c9678
Update .travis.yml 2017-11-28 02:52:11 +00:00
Estevao Soares dos Santos
fd85f1f356 Merge branch 'master' into develop 2017-11-25 17:39:19 +00:00
Estevao Soares dos Santos
0c933a01f9 fix(tables): pipe character in code spans no longer breaks table
A code span with a pipe character no longer incorrectly breaks the cell table.

Closes #465
2017-11-23 05:39:53 +00:00
Estevao Soares dos Santos
f4f63c5c39 fix(spanGamut): code spans are hashed after parsing
Code spans are now hashed after parsing which means extensions
that listen to spanGamut events no longer need to worry about
escaping "custom" magic chars inside code spans.

Closes #464
2017-11-23 05:18:20 +00:00
Estevão Soares dos Santos
cd9f36c586
Update DONATIONS.md 2017-11-22 18:12:26 +00:00
Estevão Soares dos Santos
0ee269cd3f
Update README.md 2017-11-20 16:36:58 +00:00
Estevão Soares dos Santos
b416758129
Update README.md 2017-11-20 16:36:05 +00:00
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