Commit Graph

739 Commits

Author SHA1 Message Date
Estevao Soares dos Santos
b3dd26a3a5 chore: release 2.0.2 2022-03-03 12:52:17 +00:00
Estevao Soares dos Santos
3871765ac1 fix(cli): cli now works properly
The CLI was completely rewrote. Changed dependency from yargs to commanderjs,
which is cleaner, faster and has no dependencies.
Also added a complete testsuite for the cli.

Closes #893, #894
2022-03-03 12:15:50 +00:00
Estevao Soares dos Santos
612dad0682 chore: build v 2.0.1 2022-03-01 16:15:13 +00:00
Estevao Soares dos Santos
a3dec7ffeb fix: fix cli not working due to missing src dir in npm package
Closes #893
2022-03-01 15:35:35 +00:00
Estevao Soares dos Santos
3f8ca4e7b5 Revert "fix: reduce npm package size "
This reverts commit 35730b7c80.
2022-03-01 15:32:23 +00:00
SyntaxRules
32a1aaa39b chore(build): version 2.0.0 2022-02-15 20:59:12 -07:00
Devyn
97a7696fc1 doc(security): add a security policy 2022-02-15 20:31:10 -07:00
SyntaxRules
e5f419baba build: prep and create a 2.0.0-alpha release 2022-02-01 21:36:07 -07:00
Dennis Shtatnov
366ef28a7a fix(extension-registering) removeExtension implementation 2022-02-01 21:03:38 -07:00
Jean Machuca
6ea6bbffc5 Including QCObjects in "Who uses Showdown"-README (#744) 2022-02-01 20:56:25 -07:00
Artur Haurylkevich
a931cc21ac docs: clear ambiguity about CDN usage
Add unpkg as an alternative cdn and clear ambiguity about CDN usage
It allows to skip version tag (it uses a latest version as default) and it's appealing due to its conciseness.

Closes  #742
2022-02-01 20:55:37 -07:00
Vladimir Vuksanovic
62636d085d feature(ellipsis): Add option to disable ellipsis
Add ability to disable ellipsis parser.
This is needed for some use cases. See #634
Defaults to true to keep backwards compatibility.
2022-01-31 22:06:16 -07:00
David Chester
b432da1eee fix reference link impostors 2022-01-31 21:34:33 -07:00
David Chester
b03e34ae4e rename test files to match convention 2022-01-31 21:33:09 -07:00
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