Vitaly Puzrin
88b8669c46
var => const, let
1 year ago
Vitaly Puzrin
6eddd2553f
dist rebuild
1 year ago
Vitaly Puzrin
5347c2d33f
Fix cjs build and package entries
1 year ago
Vitaly Puzrin
b8d1bf467e
Drop orphaned file
1 year ago
Vitaly Puzrin
01db29c4b7
Cleanup demo
1 year ago
Vitaly Puzrin
9f39910f19
Drop coveralls dep
1 year ago
Vitaly Puzrin
737c95a129
Fix demo build
1 year ago
Vitaly Puzrin
4ba1e660c4
Drop package.lock
1 year ago
Vitaly Puzrin
4f3bb4916e
Fix docs generator
1 year ago
Vitaly Puzrin
1c49695346
Deps bump
1 year ago
Vitaly Puzrin
8ddd00513d
coverage: nyc => c8
1 year ago
Vitaly Puzrin
e92e776411
Rewrite core to es6 modules
1 year ago
Vitaly Puzrin
beed9aee2c
punycode: switch to userland package
- Closes #967 , #969 , #513
1 year ago
Vitaly Puzrin
f5c5149ef6
CI: bump node version
1 year ago
Vitaly Puzrin
8980511a7a
Rewrite tests to es6 modules
1 year ago
Chris Sewell
13829a2c7e
Remove spurious state attribute ( #937 )
* Remove spurious state attribute
As far as I can see, this attribute is no longer used?
* Update pathological.json
* Update test/pathological.json
1 year ago
Katie Liu
6bce142987
updated outdated link in comment of lib/common/html_blocks.js ( #972 )
1 year ago
Matt Cowley
8470eb6706
chore: Update entities dependency ( #901 )
* Update entities package + usage
* Apply custom digital entity logic before entities decode
1 year ago
Brian Morearty
91c115d87b
Moved `hljs` class to `<code>` from `<pre>`. ( #913 )
In this change set I am changing the guidance in the README
and in comments to put the class on the correct tag: `<code>`, not `<pre>`.
If you put the `hljs` class on `<pre>`, syntax highlighting
does not use the correct padding.
You can see from the default CSS stylesheet in the highlight.js
repo that the `hljs` tag is expected to be on the `<code>` tag:
84719c17a5/src/styles/default.css (L17-L25)
All the official highlight.js examples have the `hljs` class on `<code>`:
https://highlightjs.org/static/demo/
1 year ago
Eiinu
a2c1f5aade
sample.md: remove deprecated emoji markup ( #921 )
1 year ago
dependabot[bot]
b249c9f0db
Bump actions/setup-node from 3 to 4 ( #964 )
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
433b4e1d2b
Bump actions/checkout from 3 to 4 ( #953 )
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
wackbyte
d65361cc9c
architecture.md: grammar/writing fixes, cleaner examples ( #940 )
1 year ago
Vitaly Puzrin
e476f78bc3
13.0.2 released
1 year ago
Vitaly Puzrin
dfd485b62f
Dist rebuild
1 year ago
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