Commit Graph

694 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
8366b6cb48 chore: commit package-lock.json 2018-05-07 19:34:51 +01:00
maxwellito
55f22de0a0 fix: compress showdown emoji
* fix showdown emoji compression

* test: fix functional test
2018-05-07 19:27:19 +01:00
trickypr
699bb625ce doc: fix README.md small typos
Clean up two of the mistakes in the README.md file.
2018-05-07 19:25:04 +01:00
GenaBitu
f20dc75024 fix: replaces \u00A0 with  
Closes #521
2018-05-07 19:14:58 +01:00
Estevão Soares dos Santos
039dd66256
Update README.md 2018-05-07 19:05:50 +01:00
Estevão Soares dos Santos
2c1062cb52
Update DONATIONS.md 2018-05-07 19:03:43 +01:00
Estevão Soares dos Santos
4e64a20463
Update DONATIONS.md 2018-05-07 19:03:18 +01:00
greenkeeper[bot]
706813d9bc chore(package): update grunt-contrib-uglify to version 3.3.0 (#481) 2018-02-02 16:05:27 +00:00
greenkeeper[bot]
6376d40584 fix(package): update yargs to version 11.0.0 (#491) 2018-02-02 16:03:29 +00:00
Estevão Soares dos Santos
ac23b8cb72
chore: pin sinon to 4.1.5 (#496) 2018-01-27 20:41:28 +00:00
Estevao Soares dos Santos
410b453049 fix jsdom polyfill 2017-12-23 14:00:20 +00:00
Estevao Soares dos Santos
17222b3d5a build 2017-12-23 13:29:39 +00:00
Estevao Soares dos Santos
173ad51b05 test: fix tests 2017-12-23 13:20:14 +00:00
Estevao Soares dos Santos
13ba2675fe Merge branch 'master' into develop 2017-12-23 12:42:36 +00:00
Estevao Soares dos Santos
be2a10797c refactor: force brackets in links 2017-12-23 12:41:21 +00:00
Estevao Soares dos Santos
94aa3e53ca test: add tests for reverse converter 2017-12-23 12:35:31 +00:00
Thomas Broadley
a42c2d7ed3 docs: fix typos (#480) 2017-12-23 08:18:03 +00:00
Estevao Soares dos Santos
19d2e9f9d4 test: testsuite refactoring 2017-12-22 15:28:41 +00:00
Estevao Soares dos Santos
ea3db5f180 feat(splitAdjacentBlockquotes): add option to split adjacent blockquote blocks
With this option enabled, this:

```md
> some text

> some other text
```

witll result in:

```html
<blockquote>
    <p>some text</p>
</blockquote>
<blockquote>
    <p>some other text</p>
</blockquote>
```

This is the default behavior of GFM.

Closes #477
2017-12-22 10:51:21 +00:00
Estevao Soares dos Santos
9825fd2bd0 Merge commit 'eec56fb1c015663947f6ed393f133bdc7a3e2a64' 2017-12-16 18:45:40 +00:00
Estevao Soares dos Santos
3db9200d2c refactor(subParsers): change name and directory of subparsers
BREAKING CHANGE: makeHtml subparsers names changed, by prepending 'makehtml.' to them.
Example: 'anchors', subparser is now named 'makehtml.anchors'.

Event names were also changed to reflect this.
Example: 'anchors.before' is now named 'makehtml.anchors.before'.

**To migrate:**

If you have a listener extension, replace the old event name with the new one. Example:

Replace this

```js
showdown.extension('myext', function() {
  return [{
    type: 'listener',
    listeners: {
      'anchors.before': function (event, text, converter, options, globals) {
        //... some code
        return text;
      }
  }];
});
```

with this
```js
showdown.extension('myext', function() {
  return [{
    type: 'listener',
    listeners: {
      'makehtml.anchors.before': function (event, text, converter, options, globals) {
        //... some code
        return text;
      }
  }];
});
```
2017-12-16 18:25:44 +00:00
Estevão Soares dos Santos
6dbd3966eb
Update README.md
Testing twitter and facebook integration
2017-12-11 12:41:25 +00:00
showdownjs-bot
fe4b6d7cf6
Update README.md 2017-12-11 12:31:25 +00:00
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
eec56fb1c0 lock packages.json packages to patch versions 2017-11-28 03:43:13 +00:00
Estevao Soares dos Santos
248254c99a freeze dev dependencies 2017-11-28 03:16:15 +00:00
Estevao Soares dos Santos
5bb009702b Merge branch 'master' into feature/reverse_convert 2017-11-28 03:14:32 +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
e5d7705569 first step for reverse convert 2017-11-27 06:44:25 +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