2404 Commits

Author SHA1 Message Date
Plan C
69908c21f7
fix bug : Cannot break line well
Co-authored-by: Tony Brix <tony@brix.ninja>
2020-08-12 10:49:25 +08:00
Plan C
480b9f0c07
fix bug : Cannot break line well
Co-authored-by: Tony Brix <tony@brix.ninja>
2020-08-12 10:48:49 +08:00
hubenchang0515
52872d2121 fix bug : Cannot break line well [#1537](https://github.com/markedjs/marked/issues/1537)
Cannot use **(WhiteSpace)(WhiteSpace)(Return)** to break line while only one characher before it.

And if use special character, it will reset the character count

brought by [#1460](https://github.com/markedjs/marked/pull/1460)
2020-08-12 10:32:44 +08:00
Josh Bruce
902a9273e1
Merge pull request #1743 from markedjs/styfle-to-owner
Org. owner to Styfle
2020-08-11 18:57:05 -05:00
Josh Bruce
fcc3de7f35
Merge pull request #1744 from markedjs/uzitech-to-owner
Org. owner to UziTech
2020-08-11 18:56:54 -05:00
Steven
96433cee63
Merge pull request #1742 from styfle/babelmark-api
Add api dingus for babelmark
2020-08-11 15:35:21 -04:00
Josh Bruce
8fafd321e5 Update SECURITY.md 2020-08-10 19:28:17 -05:00
Josh Bruce
0dca4104af Update SECURITY.md 2020-08-10 19:22:24 -05:00
Steven
76184a9596 Marked.js => Marked 2020-08-10 10:11:14 -04:00
Steven
bad2a92823 Run lint 2020-08-09 14:16:16 -04:00
Steven
74f1ca0dd4 Include package.json to read the version 2020-08-09 14:14:43 -04:00
Steven
a7a9d8acf9 Add api dingus 2020-08-09 14:09:08 -04:00
MarkedJS bot
33a4176749 🗜️ build [skip ci] 2020-08-07 19:43:00 +00:00
Steven
55b2b49851
Merge pull request #1739 from xepozz/fully-support-comment-blocks
Fix html comments
2020-08-07 15:42:05 -04:00
Tony Brix
65f3107e7c remove test.js 2020-08-07 12:44:41 -05:00
Tony Brix
3b8358025d test comment to end of doc 2020-08-07 11:19:47 -05:00
Tony Brix
e39f1ef07e fix inline comment and other html blocks 2020-08-07 11:19:26 -05:00
Dmitriy Derepko
8d07cffadc
Update src/rules.js
Co-authored-by: Tony Brix <tony@brix.ninja>
2020-08-07 09:03:47 +03:00
Dmitriy Derepko
464045ab55 Added testcase and fixed #1738 2020-08-06 19:56:06 +03:00
Steven
a9384eea7a
Merge pull request #1736 from styfle/bump-deps-lodash-4.17.19
Regenerate lock file
2020-07-22 10:21:15 -04:00
Steven
17eef15474 Regenerate lock file 2020-07-22 09:56:10 -04:00
MarkedJS bot
70f096cbb0 🗜️ build [skip ci] 2020-07-15 12:47:26 +00:00
Steven
ba130648df
Merge pull request #1728 from flouc001/nfe/dry-run-slug
NFE: add dry run capabilities to default slugger
2020-07-15 08:46:24 -04:00
flouc001
75b2646687 add sequence test 2020-07-15 08:16:03 +01:00
Callum
014fbcf43f
add assertion to existing test
Co-authored-by: Tony Brix <tony@brix.ninja>
2020-07-15 08:03:31 +01:00
Callum
0c415fd82e
update docs example to be clearer
Co-authored-by: Steven <steven@ceriously.com>
2020-07-15 08:02:55 +01:00
Tony Brix
1ad8e69e9b
Merge pull request #1731 from UziTech/release-1.1.1
Release v1.1.1
v1.1.1
2020-07-13 20:36:17 -05:00
Tony Brix
7e17526951 1.1.1 2020-07-13 13:33:36 -05:00
Tony Brix
7fbee6eeab
Merge pull request #1730 from UziTech/update-deps 2020-07-13 13:31:25 -05:00
Tony Brix
6f7522fce7
Merge pull request #1729 from UziTech/quick-ref 2020-07-13 13:10:08 -05:00
Tony Brix
f8024eb24d
remove ending slash
Co-authored-by: Steven <steven@ceriously.com>
2020-07-13 13:07:46 -05:00
Tony Brix
524ae66ba6
remove ending slash
Co-authored-by: Steven <steven@ceriously.com>
2020-07-13 13:07:30 -05:00
Tony Brix
0d6e056e5c build 2020-07-13 08:59:30 -05:00
Tony Brix
04ac593ccf update dev deps 2020-07-13 08:51:06 -05:00
MarkedJS bot
f36f676116 🗜️ build [skip ci] 2020-07-13 13:35:58 +00:00
Tony Brix
dddf9ae72c
Merge pull request #1686 from calculuschild/EmphasisFixes 2020-07-13 08:34:55 -05:00
flouc001
710658cb61 use options param, update docs, update tests 2020-07-12 19:38:37 +01:00
flouc001
2290f677c9 update docs 2020-07-11 09:36:24 +01:00
flouc001
7c35a842a6 add dry run capabilities to default slugger 2020-07-11 09:24:46 +01:00
Trevor Buckner
6b729ed8cd Merge branch 'EmphasisFixes' of https://github.com/calculuschild/marked into EmphasisFixes 2020-07-09 19:37:22 -04:00
Trevor Buckner
e27e6f960f Sorted strong and em into sub-objects 2020-07-09 19:35:22 -04:00
Tony Brix
a761316b31
Merge pull request #1726 from UziTech/show-rules
Add `npm run rules`
2020-07-09 16:36:18 -05:00
Tony Brix
f8193eda1a add npm run rules 2020-07-09 12:16:43 -05:00
Trevor Buckner
ad720c1cba
Make emEnd const
Co-authored-by: Tony Brix <tony@brix.ninja>
2020-07-09 10:54:08 -04:00
Trevor Buckner
1fb141d275
Make strEnd const
Co-authored-by: Tony Brix <tony@brix.ninja>
2020-07-09 10:53:48 -04:00
Trevor Buckner
226bbe70b7 Lint 2020-07-08 17:01:42 -04:00
Trevor Buckner
cc778ade42 Removed redundancy in "startEM" check 2020-07-08 16:58:58 -04:00
Trevor Buckner
211b9f9a20 Removed Lookbehinds
Beginning and End delimiters for EM and Strong must be searched in a separate regex to work without lookbehinds. This invalidates the regex that skips over blocks (code, html, etc.) that take precedence over EM or Strong blocks.

Getting around this means we must now mask not only reflinks, but all enclosed blocks which were previously just skipped over in the Regex.

Add one check for overlapping Strong block when testing EM, now passes Commonmark 390 and 471
2020-07-08 16:00:12 -04:00
Josh Bruce
982b57ee9b
Merge pull request #1720 from vassudanagunta/docs-patch-1
clarify level of support for Markdown flavors
2020-07-06 17:11:05 -05:00
Vas Sudanagunta
2a847e67db
clarify level of support for Markdown flavors
fixes #1718
2020-07-06 16:47:39 -04:00