Tony Brix
9c91e40e3b
revert #1464
2019-06-05 11:04:38 -05:00
x13machine
281b808a92
conflict fix 2
2019-05-21 18:42:00 -05:00
Tony Brix
1a1dd43ab1
space-before-function-paren never
2019-05-03 20:59:44 -05:00
Tony Brix
bc835ae99e
simplify eslint config
2019-05-03 20:59:44 -05:00
Tony Brix
d9f22d2726
separate eslint config
2019-05-03 20:59:43 -05:00
Josh Bruce
67b91cf122
Merge pull request #1464 from UziTech/nested-blockquotes
...
Nested blockquotes
2019-05-03 15:09:31 -07:00
jocs
0ec9fa90b6
fix eslint error and change commonmark to 0.x
2019-04-17 22:58:55 +08:00
jocs
be099c4fab
fix: failed commonmark examples 57 and 40
2019-04-17 22:48:11 +08:00
Tony Brix
8316a936cd
clean up code
2019-04-12 10:56:54 -05:00
Tony Brix
8da970cd2c
no recursion for nested blockquotes
2019-04-09 10:17:59 -05:00
Anders Kaseorg
be27472a81
Improve worst-case performance of inline.text regex
...
The old regex may take quadratic time to scan for potential line
breaks or email addresses starting at every point. Fix it to avoid
scanning from points that would have been in the middle of a previous
scan.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-04-04 11:13:51 -07:00
x13machine
2fbadaf5f4
fix syntax
2019-03-21 12:10:31 -05:00
x13machine
a92adde538
fixed *"* bug
2019-03-21 02:02:30 -05:00
x13machine
dd696a7792
lint
2019-03-21 01:50:47 -05:00
x13machine
add24ca26c
fixed example #452
2019-03-21 01:41:52 -05:00
x13machine
4c54bd1a66
fixed example #333
2019-03-21 01:18:31 -05:00
x13machine
1b0ba2a19d
em bug fix
2019-03-18 01:18:36 -05:00
Tony Brix
42e816c2a2
fix again
2019-03-12 15:23:12 -05:00
Tony Brix
246dd3df54
fix whitespace after tag
2019-03-12 15:20:46 -05:00
Tony Brix
0f0b763748
allow html without \n after
2019-03-12 13:04:45 -05:00
Tony Brix
e540b6a344
Merge pull request #1446 from UziTech/list-table
...
Fix tables in a list
2019-03-12 09:20:12 -05:00
Tony Brix
f8679c97c2
Merge pull request #1439 from UziTech/new-line-after-table
...
New line after table
2019-03-12 09:17:11 -05:00
Tony Brix
6c22ae4e9e
tables don't have to be top level
2019-03-11 09:07:25 -05:00
Tony Brix
85ba901364
Update lib/marked.js
...
Co-Authored-By: x13machine <brandanw2@gmail.com>
2019-03-08 14:26:32 -06:00
x13machine
f0fa0740fa
add token boolean to listitem parameter
2019-03-08 12:38:38 -06:00
Tony Brix
11d8f6568b
Merge branch 'master' into new-line-after-table
2019-03-08 11:11:27 -06:00
Tony Brix
27fdafbd91
fix new line after table
2019-03-07 16:21:33 -06:00
Tony Brix
9dc35bf65a
remove title from link
2019-03-05 20:51:46 -06:00
Tony Brix
b44ae6e1ea
fix link
2019-02-20 13:20:24 -06:00
Tony Brix
ceee1784fc
remove continue
2019-02-08 08:14:59 -06:00
Tony Brix
77a7826fbe
use function to check for end of link
2019-02-07 10:44:10 -06:00
Federico Soave
cc8a45288b
Allow only ONE level of nested parenthesis in link uris (as previously intended in 9f20c4682). Reverts 9c976cda1. Fixes #1405 . Disable cm test 468.
2019-01-13 19:07:00 +01:00
Josh Bruce
dfbc9a1efd
Merge pull request #1401 from styfle/slugger2
...
Fix duplicate heading id
2018-12-31 15:10:57 -06:00
Steven
5c926e227b
Fix slugger & unit tests
2018-12-21 15:23:33 -08:00
Tony Brix
7e1088fe2a
Merge pull request #1400 from mccraveiro/strong-tag
...
Fix strong tag
2018-12-20 16:37:49 -06:00
Steven
53d7ba0304
Merge pull request #1397 from mccraveiro/escape-tag
...
Fix tag escaping
2018-12-20 16:39:57 -05:00
Steven
e5e5b097a6
Merge pull request #1395 from mccraveiro/empty-list
...
Fix empty list items
2018-12-20 16:26:39 -05:00
Steven
08d9632bdf
Fix duplicate heading id
2018-12-20 16:07:10 -05:00
Mateus Craveiro
d010745cf1
Fix strong tag when the same character is the content
2018-12-20 16:02:19 -02:00
Mateus Craveiro
e51bca64b8
Fix tag escaping
2018-12-20 02:52:47 -02:00
Mateus Craveiro
a0c8eea90f
Fix empty list items
2018-12-19 19:07:33 -02:00
Mateus Craveiro
419e6548bf
Fix blockquote paragraph continuation
2018-12-19 18:29:05 -02:00
Steven
82ace248de
Merge pull request #1391 from mccraveiro/ordered-list
...
Limit ordered list marker length
2018-12-18 09:50:46 -05:00
Steven
9a522d6bf4
Merge pull request #1005 from KostyaTretyak/patch-renderer
...
Add message: token type cannot be found
2018-12-18 09:44:34 -05:00
Mateus Craveiro
95f687dd14
Limit ordered list marker
2018-12-17 21:18:44 -02:00
Steven
2d94bf39ed
Merge pull request #684 from kohler/adjacentlists
...
Fix handling of adjacent lists.
2018-12-10 12:27:29 -05:00
Eddie Kohler
a48a9f0fc4
Fix handling of adjacent lists.
...
An ordered list followed by an unordered list shouldn't be combined,
even in non-smartLists mode.
Should fix #530 .
2018-12-10 11:26:13 -05:00
Federico Soave
ca52d38899
use only the first word of the inforstring as the languauge in code blocks (pass cm example 112)
2018-12-08 14:13:37 +01:00
Federico Soave
30a73a36e3
fences must be indent up to 3 spaces (pass cm example 106)
2018-12-08 14:04:42 +01:00
Federico Soave
2f19392e34
handle fenced code blocks ended by end of file (or parent container) and info string compliant to commonmark
2018-12-08 14:02:57 +01:00