Vitaly Puzrin
b5d7ea5e8a
10.0.0 released
5 years ago
Vitaly Puzrin
26eacad9ab
Browser files rebuild
5 years ago
Vitaly Puzrin
3d24bda404
Deps bump
5 years ago
Vitaly Puzrin
33dfd129dd
Changelog format update
5 years ago
Alex Kocharin
07a62c6c75
Move nested delimiter info to opening token instead of inline state
5 years ago
Vitaly Puzrin
3c67c8f1c8
Add funding info
5 years ago
Vitaly Puzrin
9e5015f8f7
9.1.0 released
5 years ago
Vitaly Puzrin
5093920d5c
Browser files rebuild
5 years ago
Vitaly Puzrin
39a35f478f
Remove extra chars from line breaks check (match CM spec)
5 years ago
Mathias Bynens
faecae0ba7
Match CommonMark spec exactly
5 years ago
Mathias Bynens
d9cb3ccb67
Don’t recognize U+2028 as a newline character
As of https://github.com/tc39/proposal-json-superset (ES2019), U+2028 is allowed in ECMAScript string literals, just like it already was in JSON strings. Splitting on U+2028 breaks the layout of a Markdown file containing a code example:
https://markdown-it.github.io/#md3=%7B%22source%22%3A%22a%5Cn%5Cn%5Cn%60%60%60js%5Cn%2F%2F%20A%20JavaScript%20object%20%28or%20array%2C%20or%20string%29%20representing%20some%20data.%5Cnconst%20data%20%3D%20%7B%5Cn%20%20LineTerminators%3A%20%27%5C%5Cn%5C%5Cr%E2%80%A8%E2%80%A9%27%2C%20%2F%2F%20%27%5C%5Cn%5C%5Cr%5C%5Cu2028%5C%5Cu2029%27%5Cn%7D%3B%5Cn%60%60%60%5Cn%5Cnb%22%2C%22defaults%22%3A%7B%22html%22%3Afalse%2C%22xhtmlOut%22%3Afalse%2C%22breaks%22%3Afalse%2C%22langPrefix%22%3A%22language-%22%2C%22linkify%22%3Atrue%2C%22typographer%22%3Atrue%2C%22_highlight%22%3Atrue%2C%22_strict%22%3Afalse%2C%22_view%22%3A%22html%22%7D%7D
This patch removes U+2028 as a newline character, to align markdown-it’s behavior more closely with the JavaScript string literal grammar.
5 years ago
Vitaly Puzrin
9bbefc1bc3
Create issue templates
5 years ago
Vitaly Puzrin
28cec6d30a
9.0.1 released
5 years ago
Vitaly Puzrin
7961e5ae3d
Browser files rebuild
5 years ago
Alex Kocharin
a1c93811f8
Fix incorrect level recalculation in text_collapse
close #466
5 years ago
Alex Kocharin
d08c7c3897
Add an example related to case-insensitive comparisons
5 years ago
Vitaly Puzrin
bd43aaeedb
9.0.0 released
5 years ago
Vitaly Puzrin
cb4f862f4d
Browser files rebuild
5 years ago
Vitaly Puzrin
c36309ef1c
Bump eslint & update CS
5 years ago
Vitaly Puzrin
a52d7240d4
Deps bump
5 years ago
Vitaly Puzrin
c93ad3a196
jade => pug
5 years ago
Vitaly Puzrin
1ba6def4ea
Deps: coverall bump
5 years ago
Vitaly Puzrin
457f471f15
Travis-CI: refresh node versions to actual
5 years ago
Alex Kocharin
fa7a419161
Fix edge case for list indents
Now list items cannot be indented more than 4 spaces from the first,
as per commonmark 0.29 spec:
- item 1
- item 2
- item 3
- item 4
- this one is a paragraph continuation
5 years ago
Alex Kocharin
7421ecce67
Improve normalization for reference label matching
Simple toUpperCase() does not work for various ligatures and legacy
characters that are already in a different upper case form.
See also:
278ea515fe
5 years ago
Alex Kocharin
e519e6ac19
Fix emphasis matching where delimiters are multiple of 3
This is now allowed as per commonmark 0.29 spec:
ex***amp***le
See also:
83ed53e12a
fix https://github.com/markdown-it/markdown-it/issues/561
5 years ago
Alex Kocharin
02a2605e84
Reduce maximum length for numeric html entities
This is no longer recognized as an entity, according to commonmark 0.29 tests:
�
See also:
026ca8234b
5 years ago
Alex Kocharin
7997fdadcd
Apply special rules for collapsing whitespace inside code blocks
Change as per commonmark 0.29 spec
See also:
e121b4e301
5 years ago
Alex Kocharin
254b776beb
Allow tildes in info string of a fence block with tilde marker
This is now allowed as per commonmark 0.29 spec:
~~~ js ~~~
console.log('hello, world!');
~~~
See also:
b7651e4f8b
5 years ago
Alex Kocharin
f872cbc31e
Allow spaces inside brackets in links
This is now allowed as per commonmark 0.29 spec:
[inline link](<./inline link.md>)
fix https://github.com/markdown-it/markdown-it/issues/567
5 years ago
Alex Kocharin
106ea4b6d0
Update CommonMark spec to 0.29
fix https://github.com/markdown-it/markdown-it/issues/553
5 years ago
Vitaly Puzrin
ba6830ba13
Drop heroku-postbuild (set NPM_CONFIG_PRODUCTION=false instead)
6 years ago
Ted Ge
d533c27017
fix normalize function name ( #538 )
6 years ago
Vitaly Puzrin
337ea1ec1b
DevDeps: uglify-js => terser
6 years ago
Vitaly Puzrin
552304e369
DevDeps: pin mocha version
6 years ago
0xflotus
bda94b0521
[docs] fixed some small errors ( #531 )
6 years ago
Vitaly Puzrin
46bd681ead
Merge pull request #487 from m93a/patch-1
It's "typographic", not "typographyc"
6 years ago
Michal Grňo
6847c9481f
It's "typographic", not "typographyc"
6 years ago
Vitaly Puzrin
2c02e3e237
8.4.2 released
6 years ago
Vitaly Puzrin
6e17354bc5
Broser files rebuild
6 years ago
Vitaly Puzrin
d97175306e
Merge pull request #476 from ryan-copperleaf/patch-1
Make --no-html have an effect in CLI
6 years ago
Ryan O’Hara
cf835e0440
Make --no-html have an effect in CLI
HTML is a surprising default, too.
6 years ago
Vitaly Puzrin
1ad3aec204
Merge pull request #450 from redochka/patch-1
Update architecture.md
7 years ago
reda
7b8f91c639
Update architecture.md
remove extra ')'
7 years ago
Vitaly Puzrin
6fa70c57e9
Merge pull request #445 from jjyyxx/patch-1
fix typo
7 years ago
jjyyxx
7f99cfa9b4
fix typo
7 years ago
Vitaly Puzrin
42e388224b
8.4.1 released
7 years ago
Vitaly Puzrin
83670a3861
Browser files rebuild
7 years ago
Vitaly Puzrin
378659be47
Deps bump: uc.micro
7 years ago
Alex Kocharin
04d36a3f1a
Fix smartquotes around softbreaks
close https://github.com/markdown-it/markdown-it/issues/430
7 years ago