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
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