Alex Kocharin
80a3adc094
Fix crash in linkify inline rule on malformed input
1 year ago
Alex Kocharin
49ca65bbef
Sync pathological tests with cmark
1 year ago
Alex Kocharin
2b6cac2582
Sync pathological tests with cmark
this reflects following commit, no changes are necessary:
eb54ef4d68
2 years ago
Zearin
08444a5c1c
Fix typo; minor copy-edits ( #879 )
2 years ago
Baoshuo Ren
940459e654
fix: remove outdated comments ( #891 )
ref: f52351499b
2 years ago
Alex Kocharin
1529ff4944
Guard against custom rule not incrementing pos
3 years ago
Alex Kocharin
6325878f9f
Multiple refactors
removed unused and duplicated variables
3 years ago
Alex Kocharin
9ff460ef87
Drop a lot of extra code from blockquotes
1st iteration before the loop is exactly the same as a part of that loop
this effectively replaces:
```
do(0)
for (i = 1; i < x; i++) do(i)
```
with:
```
for (i = 0; i < x; i++) do(i)
```
3 years ago
Vitaly Puzrin
e843acc9ed
Merge branch 'master' of github.com:markdown-it/markdown-it
3 years ago
Vitaly Puzrin
bda718216b
13.0.1 released
3 years ago
Vitaly Puzrin
b8b610fd7a
Dist rebuild
3 years ago
Vitaly Puzrin
d17df137d0
Bump linkify-it to 4.0.1
3 years ago
Vitaly Puzrin
0c19c37223
Merge pull request #866 from yne/patch-1
doc: Add syntax highlighting
3 years ago
Rémy F
e157cd242b
doc: Add syntax highlighting
For better readability
3 years ago
Vitaly Puzrin
6ec0b76ebe
13.0.0 released
3 years ago
Vitaly Puzrin
0e4c0f47a9
Dist rebuild
3 years ago
Vitaly Puzrin
d1757ed98b
Bump linkify-it to v4
3 years ago
Sascha
bab0baf193
Added examples on how to add and modify rules ( #619 )
3 years ago
Tobias Speicher
e6d1bfdee1
refactor: replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
Alex Kocharin
f52351499b
Remove (p) => § replacement in typographer
close https://github.com/markdown-it/markdown-it/issues/763
3 years ago
Alex Kocharin
3fc0deb38b
Put entities to separate token
3 years ago
Alex Kocharin
6b58ec4245
Add linkifier rule to inline chain for full links
prevents emphasis from appearing in `http://example.org/foo._bar_.baz `
3 years ago
Alex Kocharin
75037c6514
Put escape sequences into separate token
3 years ago
Vitaly Puzrin
750a954d58
Merge pull request #858 from kaankabalak/patch-1
Fix typo
3 years ago
Kaan Kabalak
a2aae8ef45
Fix typo
3 years ago
Vitaly Puzrin
7f0bc25582
Merge pull request #857 from Mizux/patch-1
Fix typo
3 years ago
Mizux
c7e36eb12d
Fix typo
3 years ago
dependabot[bot]
6da01033aa
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
5528616dff
Bump actions/setup-node from 2 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Vitaly Puzrin
7edd820b57
Update funding info
3 years ago
dependabot[bot]
df77ca12fb
Bump entities from 2.1.0 to 3.0.1
Bumps [entities](https://github.com/fb55/entities ) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/fb55/entities/releases )
- [Commits](https://github.com/fb55/entities/compare/v2.1.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: entities
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Vitaly Puzrin
6a5bf2d41b
CI: update action's versions
3 years ago
Vitaly Puzrin
d67155cbc9
Add dependabot config
3 years ago
Vitaly Puzrin
d72c68b520
12.3.2 released
3 years ago
Vitaly Puzrin
aca3396361
dist rebuild
3 years ago
Vitaly Puzrin
ffc49ab46b
Fix possible ReDOS in newline rule.
Co-authored-by: MakeNowJust <make.just.on@gmail.com>
3 years ago
Vitaly Puzrin
76469e83dc
12.3.1 released
3 years ago
Vitaly Puzrin
ae5a243baf
dist rebuild
3 years ago
Alex Kocharin
1cd8a5143b
Fix tab preventing paragraph continuation in lists
close https://github.com/markdown-it/markdown-it/issues/830
3 years ago
Aram Zucker-Scharff
830757c032
Fix spelling error in question Github Template ( #835 )
This is a minor change, but since it pops up on every new issue and I caught it I thought it would be nice to fix.
3 years ago
Vitaly Puzrin
2e31d34301
12.3.0 released
3 years ago
Vitaly Puzrin
393354ca6f
Dist rebuild
3 years ago
Vitaly Puzrin
8564eed92e
Dev deps bump
3 years ago
Alex Kocharin
24abaa51a6
Improve emphasis algorithm
This fixes quadratic complexity in `**<...>**a**<...>**`
pathological case.
3 years ago
Himanshu Mehta
e07a9ddeee
typo fix
3 years ago
Vitaly Puzrin
6e2de08a0b
12.2.0 released
3 years ago
Vitaly Puzrin
08827d6b82
dist rebuild
3 years ago
Eddie Kohler
8bcc82aa74
Parser: Set ordered list_item_open token info to input marker.
For instance, in a list
1. Item 1
20. Item 2
the first list_item_open token will have token.info === '1', and the
second will have token.info === '20'.
This is useful for later rendering plugins that might want to
use the actual markers.
4 years ago
Alex Kocharin
77fb93739d
Add pathological test from cmark
3 years ago
Taneli Hukkinen
e5986bb7cc
Always suffix indented code block with a newline
3 years ago