Commit Graph

891 Commits

Author SHA1 Message Date
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
Estevao Soares dos Santos
e80a548c9b build 2018-07-07 19:15:02 +01:00
Estevao Soares dos Santos
0d5c9df1a8 chore: update dependencies 2018-07-07 19:12:34 +01:00
Estevao Soares dos Santos
62270d4a4b Merge branch 'develop' 2018-07-07 19:07:04 +01:00
Estevao Soares dos Santos
358947bd29 feat(makeMarkdown): convert HTML to MD
This feature enables convertion of HTML into MD.
2018-07-07 19:05:16 +01:00
Estevão Soares dos Santos
3d51939b4e
Update README.md
Closes #559
2018-07-05 16:09:19 +01:00
jjangga0214
a54ed664f7 doc: Update README.md
correct markdown grammar
2018-06-05 22:33:56 +01:00
Christian Genco
0c6ce94673 doc: add metadata code example 2018-05-13 15:37:53 +01:00
Daniel Ruf
7628471928 chore: cache node_modules 2018-05-10 00:26:04 +01:00
Daniel Ruf
fc43100286 chore: cleanup ci scripts (#525) 2018-05-07 20:12:30 +01:00
Estevao Soares dos Santos
b53f71bdf3 Merge branch 'master' into develop 2018-05-07 20:07:22 +01:00
Estevao Soares dos Santos
099a6da5da chore: update jsdom to v10 2018-05-07 20:05:42 +01:00
Daniel Ruf
f572d368ed chore: use Node.js 6, 8 and 10 2018-05-07 19:54:37 +01:00
Estevao Soares dos Santos
49ed464183 update sinon 2018-05-07 19:43:31 +01:00
Estevao Soares dos Santos
d915c837d9 chore: update travis and appveyor 2018-05-07 19:39:09 +01:00
Estevao Soares dos Santos
8366b6cb48 chore: commit package-lock.json 2018-05-07 19:34:51 +01:00
maxwellito
55f22de0a0 fix: compress showdown emoji
* fix showdown emoji compression

* test: fix functional test
2018-05-07 19:27:19 +01:00
trickypr
699bb625ce doc: fix README.md small typos
Clean up two of the mistakes in the README.md file.
2018-05-07 19:25:04 +01:00