Commit Graph

725 Commits

Author SHA1 Message Date
David Chester
525b65f6d6 preserve spaces between inline elements 2022-01-31 21:30:56 -07:00
Estevão Soares dos Santos
33f2f9cf52 Update README.md 2022-01-31 21:29:23 -07:00
Sibiraj
b3310a1c5e docs: update README.md (#652) 2022-01-31 21:27:53 -07:00
Joshua Cline
f54395f260 Escaped the <br> in README.md (#645) 2022-01-31 21:25:32 -07:00
Liu Xinyu
55314da376 chore: add vue-showdown (#630) 2022-01-31 21:19:26 -07:00
Futago-za Ryuu
35730b7c80 fix: reduce npm package size
Add files field to package.json so that the size of the published package is reduced by only including the files required (the bin and the dist folders)

Closes #619
2022-01-31 21:18:48 -07:00
Estevao Soares dos Santos
25c44207be fix: allow escaping of colons
Previously, you couldn't escape colons (as they were semi-magic markdown characters).
Colons (:) can now be backslash escaped.
2022-01-31 18:25:42 -07:00
SyntaxRules
e3ddcafd1e chore(license): update liscense to MIT 2022-01-31 18:08:23 -07:00
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