Commit Graph

858 Commits

Author SHA1 Message Date
Dennis Shtatnov
a64a18bef8 fix(polyfill) String.prototype.repeat 2018-12-16 09:35:15 -05:00
Futago-za Ryuu
82f90ebda2 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
2018-11-13 21:47:31 +00:00
Estevao Soares dos Santos
66798912de Merge branch 'master' into develop 2018-11-09 23:47:36 +00:00
Estevão Soares dos Santos
8a8f961bc4
Update DONATIONS.md 2018-11-09 23:32:47 +00:00
Estevão Soares dos Santos
bb4db60452
Update DONATIONS.md 2018-11-09 23:02:52 +00:00
Estevão Soares dos Santos
b08f9a04a0
Update README.md 2018-11-04 03:06:18 +00:00
Estevão Soares dos Santos
bd6beeaf0d
Update README.md 2018-11-04 03:03:11 +00:00
Oscar Morrison
68733e6684 add md-page to people who use (#604) 2018-11-04 03:02:18 +00:00
Estevão Soares dos Santos
05e8b22917
Update DONATIONS.md 2018-11-04 00:30:11 +00:00
Estevão Soares dos Santos
5e5b96c26a
Update DONATIONS.md 2018-11-04 00:29:50 +00:00
Estevão Soares dos Santos
a488b4728f
Update README.md 2018-11-03 19:28:17 +00:00
Estevão Soares dos Santos
0ebef28c66
Update README.md 2018-11-03 19:18:13 +00:00
Vladimir Vuksanovic
74e77369e0 docs(emoji): Change emoji comment (#611)
Fix emoji comment to reflect its actual behavior
2018-10-26 10:31:24 +01:00
Estevao Soares dos Santos
80f5c7e703 Merge branch 'VladimirV99-patch-2' into develop 2018-10-24 03:27:37 +01:00
Estevao Soares dos Santos
6ee6d8c9d9 rebuild 2018-10-24 03:27:16 +01:00
Vladimir Vuksanovic
4378abb4fa 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-10-24 03:23:28 +01:00
Vladimir Vuksanovic
e0fc6f8d6b docs(completeHTMLDocument): Change completeHTMLDocument comment (#610)
Fix completeHTMLDocument comment to reflect its actual behavior
2018-10-23 11:04:41 +01:00
RAKESH PEELA
054829b2dc docs(readme.md): no space after ':' creates problem with Boldness of 'tasklists' and description in Wiki
No space after ':' creates problem with Boldness of 'tasklists' and description in Wiki
2018-10-21 22:17:28 +01:00
Vladimir Vuksanovic
fc1717780e docs(horizontalRule): Change horizontalRule documentation (#606)
Fix horizontalRule documentation to reflect its actual purpose
2018-10-21 22:15:10 +01:00
Vladimir Vuksanovic
81edc70da7 fix(underline): Make underline lazy
fix underline if literalMidwordUnderscores option is enabled
it should end at the nearest closing underscores, not the furthest
2018-10-21 15:20:39 +02:00
Estevão Soares dos Santos
db69d02974
Update DONATIONS.md 2018-10-06 00:53:35 +01:00
Estevão Soares dos Santos
dc03c7e647
Update DONATIONS.md 2018-10-06 00:52:07 +01:00
Estevao Soares dos Santos
4da93e8e13 docs: add first draft of documentation for version 2.0
Still has a long way to go
2018-09-25 04:10:40 +01:00
Estevao Soares dos Santos
d3ebff7ef0 fix(links): a number of issues with links subparser
This is a major refactor of the links subparser, previously known as anchors subparser.

Closes #355, #534

BREAKING CHANGE: `excludeTrailingPunctuationFromURLs` option was removed. This is now the default behavior
2018-09-25 04:04:59 +01:00
Estevao Soares dos Santos
798bbe6751 refactor: change anchor subparser name to link 2018-09-23 20:34:54 +01:00
Estevao Soares dos Santos
61aca9a7d6 Merge branch 'develop' 2018-09-23 19:05:43 +01:00
Estevao Soares dos Santos
f46479b4ee chore: update readme and add TASKS.TODO.md 2018-09-16 03:45:07 +01:00
Estevão Soares dos Santos
d309b5b1c1
Update CREDITS.md 2018-09-15 15:32:09 +01:00
Estevão Soares dos Santos
5ed36a508c
Create LICENSE 2018-09-15 15:31:03 +01:00
Estevão Soares dos Santos
f4c018ffca
Delete LICENSE 2018-09-15 15:30:10 +01:00
Estevão Soares dos Santos
73cf218f25
Update README.md 2018-09-15 15:26:56 +01:00
Estevao Soares dos Santos
f24e314a70 Merge branch 'develop' 2018-09-15 15:23:11 +01:00
Estevão Soares dos Santos
f874043725
Delete license.txt 2018-09-15 15:22:26 +01:00
Estevão Soares dos Santos
48de9101f4
Update LICENSE 2018-09-15 15:22:07 +01:00
Estevão Soares dos Santos
d1ae7b2bc5
Create LICENSE 2018-09-15 15:16:06 +01:00
Estevao Soares dos Santos
18c4b6ebac chore: build 2018-09-15 14:59:25 +01:00
Estevao Soares dos Santos
6259f37bd6 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-09-15 14:58:50 +01:00
Estevao Soares dos Santos
26abc7a795 fix(headings): inconsistent behavior in lists
In text, headings only require a single linebreak to be treated as such.
However, in lists, they would require a double linebreak.
Now, the behavior in lists and text is consistent, requiring only a single
linebreak.

Closes #495
2018-09-15 14:45:48 +01:00
Estevao Soares dos Santos
d9eea64794 remove(literalMidWordAsterisks): remove literalMidWordAsterisks feature
This feature was seen as a bit "duh!" since midword asterisks are not really a thing and, for these situations, you can simply escape the asterisk character.

Closes #499

BREAKING CHANGE: literalMidWordAsterisks option was removed and so asterisks will always retain their markdown magic meaning in a source text.
If you're using this feature, and you wish to retain this option, you can find a shim here: <https://gist.github.com/tivie/7f8a88c89ffb00d2afe6c59a25528386>
2018-09-14 22:46:03 +01:00
Estevao Soares dos Santos
a4be301331 fix: allow escaping of colons
Previously, you couldn't escape colons (as they were semi-magic markdown characters).
Colons (:) can now be backslash escaped.
2018-09-14 21:34:48 +01:00
Estevao Soares dos Santos
c7a89eaae4 build 2018-09-14 17:04:38 +01:00
Estevao Soares dos Santos
2ba00751cc fix(mentions): allow for usernames with dot, underscore and dash
Closes #574
2018-09-14 17:03:07 +01:00
Estevao Soares dos Santos
b0d475fc08 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-09-14 15:49:24 +01:00
Estevao Soares dos Santos
63763b136f fix(images): fix 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-09-14 15:40:18 +01:00
Estevao Soares dos Santos
fc7ac1e1ca chore: fix merge conflicts 2018-09-14 14:21:20 +01:00
Estevao Soares dos Santos
0c6b5bdc4b Merge branch 'develop' of https://github.com/showdownjs/showdown into develop
# Conflicts:
#	dist/showdown.js
#	dist/showdown.js.map
#	dist/showdown.min.js
#	dist/showdown.min.js.map
2018-09-14 14:11:08 +01:00
Estevao Soares dos Santos
05ef5c55dc refactor(event dispatcher): make event dispatcher return an object instead of text 2018-09-14 14:10:15 +01:00
Estevão Soares dos Santos
686d3dd146
Update CHANGELOG.md 2018-09-14 13:40:24 +01:00
Matt Budish
baf325f120 Upgrade yargs to address vulnerability in mem. (#580)
https://snyk.io/test/npm/yargs/10.1.2

Run grunt build.

Add preinstall script.

Revert "Add preinstall script."

This reverts commit 3034355c0b6c4ac70eeb4a00cdba1d46ccaf78eb.
2018-09-09 20:49:22 +01:00
Lee Moody
1f0242c6ea 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-08-08 01:25:32 +01:00