Commit Graph

696 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
c96c3efbe6 Update README.md 2018-11-09 23:59:17 +00:00
Vladimir Vuksanovic
dc70e68983 docs(emoji): Change emoji comment (#611)
Fix emoji comment to reflect its actual behavior
2018-11-09 23:56:19 +00:00
Vladimir Vuksanovic
0c6f345c4c fix(italicsAndBold): Make italicsAndBold lazy (#608)
fix italicsAndBold if literalMidwordUnderscores option is enabled
it should end at the nearest closing underscores, not the furthest

Closes #544
2018-11-09 23:55:02 +00:00
Estevao Soares dos Santos
e6aeb61dde release 1.8.7 2018-10-16 23:30:06 +01:00
Estevao Soares dos Santos
828c32f503 fix(gfm-codeblocks): leading space no longer breaks gfm codeblocks
Now GFM Code Blocks can have up to 3 spaces before the backticks

Closes #523
2018-10-16 23:27:08 +01:00
Estevao Soares dos Santos
dfeb1e26f3 fix(mentions): allow for usernames with dot, underscore and dash
Closes #574
2018-10-16 23:25:05 +01:00
Estevao Soares dos Santos
79ed0249ca test: add test for issue 585 2018-10-16 23:20:58 +01:00
Estevao Soares dos Santos
980e7028e5 fix(images): fix js error when using image references
In some circumstances, on a reference style image, the last capturing
group is ignored, which causes the fucntion argument to return the number
of matches instead of a string (or undefined).
Checking if the title parameter is a string ensures that the title
parameter is actually something that was caught by the regex and not some
metadata.

Closes #585
2018-10-16 23:07:21 +01:00
Estevao Soares dos Santos
a48e0cf86a tests: fix travis.yml 2018-10-16 23:05:17 +01:00
Estevao Soares dos Santos
23f849c952 test: fix appveyor.yml 2018-10-16 23:03:09 +01:00
Lee Moody
24bf7b132d fix(gfm-codeblock): add support for spaces before language declaration
One or more spaces before the language declaration of a code block is supported by Github.

E.g.

```    html
<div>HTML!</div>
```

``` html
<div>HTML!</div>
```

```html
<div>HTML!</div>
```

Closes #569
2018-10-16 23:00:36 +01:00
Estevão Soares dos Santos
c716758f30 Update README.md
Closes #559
2018-10-16 22:59:26 +01:00
jjangga0214
3109988d02 doc: Update README.md
correct markdown grammar
2018-10-16 22:59:19 +01:00
Christian Genco
e7294ddccf doc: add metadata code example 2018-10-16 22:59:04 +01:00
Daniel Ruf
7bc285edcb chore: use Node.js 6, 8 and 10 2018-10-16 22:58:34 +01:00
Estevao Soares dos Santos
5561654d29 chore: update travis and appveyor 2018-10-16 22:58:16 +01:00
GenaBitu
8bc1f42bef fix(nbsp): fix replacing of nbsp with regular spaces 2018-10-16 22:57:08 +01:00
trickypr
cf84bdb72c doc: fix README.md small typos
Clean up two of the mistakes in the README.md file.
2018-10-16 22:55:54 +01:00
Estevão Soares dos Santos
9da4230576 Update README.md 2018-10-16 22:55:28 +01:00
Estevão Soares dos Santos
51d2ab3a04 Update DONATIONS.md 2018-10-16 22:55:20 +01:00
Estevão Soares dos Santos
228c9699e0 Update DONATIONS.md 2018-10-16 22:55:04 +01:00
Estevao Soares dos Santos
47e8419da1 test: fix emoji tests 2018-10-16 22:52:38 +01:00
Estevão Soares dos Santos
4aca41ca38
fix(emojis): fix emoji excessive size 2018-01-28 03:20:56 +00:00
Estevao Soares dos Santos
fe70e4530b fix(literalMidWordAsterisks): now parses single characters enclosed by * correctly
Closes #478
2017-12-22 18:14:56 +00:00
Estevao Soares dos Santos
a8bcde14fd release 1.8.6 2017-12-22 10:26:22 +00:00
Estevao Soares dos Santos
da328f2527 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 09:54:23 +00:00
Estevao Soares dos Santos
c9727e2f6b build 2017-12-16 17:58:53 +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
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