Commit Graph

717 Commits

Author SHA1 Message Date
SyntaxRules
9828a82629 chore(deps): make dependecies consistent with ^ operator 2022-01-31 17:59:11 -07:00
SyntaxRules
434eaff71e chore(deps): update all dependecies to the latest; make eslint work 2022-01-31 17:07:27 -07:00
Devyn S
1efca074bd chore(ci): update CI to lastest node versions & github actions
* update CI node versions to match node supported versions
* remove node 17.x on appveyor, it only supports up to node 16.x
* travis CI is not longer free/working; remove it in favor of github actions
2022-01-31 16:52:42 -07:00
Estevao Soares dos Santos
414d7a5f83 remove nodejs v6 from travis CI 2019-11-02 23:15:05 +00:00
Estevao Soares dos Santos
483e51f7a6 release 1.9.1 2019-11-02 23:04:21 +00:00
Estevao Soares dos Santos
5cc3fcc84e update dev dependencies 2019-11-02 22:53:47 +00:00
Jammerware
1cd281f064 fix(openLinksInNewWindow): add rel="noopener noreferrer" to links
Add rel="noreferrer" to links when openLinksInNewWindow is on. Also add noopener when openLinksInNewWindow is on.
target="_blank" without also adding rel="noopener noreferrer" creates a vulnerability
(since the site you're linking to has access to the window.opener by default.
This  adds rel="noopener noreferrer" to links generated by the makeHtml converter when openLinksInNewWindow is true.

Closes #670
2019-11-02 22:43:50 +00:00
Adam Cook
58208e5c98 update dependencies 2019-11-02 22:34:20 +00:00
Estevao Soares dos Santos
8afa1fff0e release 1.9.0 2018-11-10 23:24:23 +00:00
Estevao Soares dos Santos
cc1b9553a2 prep release 2018-11-10 02:55:50 +00:00
Estevao Soares dos Santos
a894a0e1db docs: add mention to makeMd() to reamde.md 2018-11-10 02:51:19 +00:00
Estevao Soares dos Santos
e4b0e69724 feat(converter.makeMarkdown): add an HTML to MD converter
Showdown now supports a simple HTML to Markdown converter.

**Usage:**

```
var conv = new showdown.Converter();
var md = conv.makeMarkdown('<a href="/url">a link</a>');
```

Closes #388, #233
2018-11-10 02:39:38 +00:00
Vladimir Vuksanovic
5c0d67e04a 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-10 00:09:19 +00:00
Estevão Soares dos Santos
afbaec98d9 docs(donations.md): update 2018-11-10 00:07:12 +00:00
RAKESH PEELA
0087148a60 docs(readme.md): update 2018-11-10 00:06:08 +00:00
Vladimir Vuksanovic
69b816e431 docs(completeHTMLDocument): Change completeHTMLDocument comment (#610)
Fix completeHTMLDocument comment to reflect its actual behavior
2018-11-10 00:03:38 +00:00
Estevão Soares dos Santos
a608114a5c docs(readme.md): update readme.md 2018-11-10 00:03:23 +00:00
Oscar Morrison
9907c959d7 add md-page to people who use (#604) 2018-11-09 23:59:39 +00:00
Estevão Soares dos Santos
3fe5e9a5bf Update DONATIONS.md 2018-11-09 23:59:33 +00:00
Estevão Soares dos Santos
012f8d633d Update DONATIONS.md 2018-11-09 23:59:28 +00:00
Estevão Soares dos Santos
47428b72b5 Update README.md 2018-11-09 23:59:23 +00:00
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