Alex Kocharin
a1c93811f8
Fix incorrect level recalculation in text_collapse
close #466
6 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
6 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
6 years ago
Alex Kocharin
a733ffa8b6
Fix blockquote termination inside lists
close https://github.com/markdown-it/markdown-it/issues/386
7 years ago
Ullallulloo
bf4ba21254
Fixed typos in comment
8 years ago
Alex Kocharin
c57f593b23
Fix blockquote termination by list item
close https://github.com/markdown-it/markdown-it/issues/338
8 years ago
Alex Kocharin
f0e7e562ea
Fix blockquote termination inside indented lists
close https://github.com/markdown-it/markdown-it/issues/329
8 years ago
Alex Kocharin
d29f421927
Fix table indentation issues
close https://github.com/markdown-it/markdown-it/issues/325
reverts https://github.com/markdown-it/markdown-it/pull/224
8 years ago
Alex Kocharin
9eb2a26005
Fix backtick handling inside tables
Fix https://github.com/markdown-it/markdown-it/issues/303
8 years ago
Alex Kocharin
93544ee4bf
Fenced code block info string should not contain fence marker
Fix https://github.com/markdown-it/markdown-it/issues/301
8 years ago
Alex Kocharin
f5a06ec0b6
Make link/image/reference helpers overridable
8 years ago
Alex Kocharin
1bb254b879
Allow tabs inside GFM tables
8 years ago
Alex Kocharin
7a053ef4c5
Fix tab behavior inside blockquotes
8 years ago
Alex Kocharin
18dd8e3a71
Fix list terminating paragraph shenanigans
8 years ago
Alex Kocharin
1ecf143db0
Fix lists and headings
8 years ago
Alex Kocharin
e5696e5b36
Partially fix tabs inside code blocks
8 years ago
Sean Lang
10d6448b22
support tables with missing values
(and add supporting test case)
9 years ago
Alex Kocharin
07cfbc9264
Add workarounds to lists to conform with CM spec
9 years ago
Alex Kocharin
637c776ec5
Allow multiline setext headers
9 years ago
Alex Kocharin
a18ddc0223
Loosen table rules
1. allow one-column tables
2. allow mismatched column count
close https://github.com/markdown-it/markdown-it/issues/171
9 years ago
Alex Kocharin
b2aee1a978
Expand tabs only when it's needed, as per CommonMark 0.21
10 years ago
Alex Kocharin
02c04be9e5
Fix reference edge-case
10 years ago
Alex Kocharin
643d9f75a0
Implement new html block algorithm from 0.21
10 years ago
Alex Kocharin
909f79e62e
Bring ordered list markers up to spec
10 years ago
Alex Kocharin
954e156848
Allow numbered lists starting from zero
Fixes: https://github.com/markdown-it/markdown-it/issues/129
10 years ago
Alex Kocharin
86fd73fcba
Disallow empty reference labels
10 years ago
Alex Kocharin
c5ee94aaf6
Fix skipLastLF handling in getLines
fix #116
10 years ago
Alex Kocharin
d292f72b69
Add/fix indentation checking in blockquotes
fix #111
10 years ago
JT
ba16fad6a2
Don't split cells on pipe characters inside backticks.
Includes some relevant test cases.
Fixes #86
10 years ago
Vitaly Puzrin
d4fe12a6ec
Fixed html block tags with numbers in name, closes #74
10 years ago
Alex Kocharin
77e8b6cad0
Add configurable url normalizers
- md.normalizeLink
- md.normalizeLinkText
10 years ago
Alex Kocharin
f1aff8a5b9
Add StateCore.Token and StateCore.push()
so all state objects would have roughly the same interface
10 years ago
Alex Kocharin
5a390adbbc
Make Token class accessible from a State
10 years ago
Vitaly Puzrin
d6128515b3
Removed unnecessary checks
10 years ago
Vitaly Puzrin
00117cb2e7
Changes to improve speed on node 0.12 & iojs
10 years ago
Vitaly Puzrin
3730820945
Added token helpers & reorganized renderer
10 years ago
Vitaly Puzrin
18d80c6f0b
Moved validateLink() to root class
10 years ago
Alex Kocharin
bb4dcf48f4
Set token.markup whereever appropriate
10 years ago
Alex Kocharin
4aabd5592e
Use a common class for tokens
10 years ago
Vitaly Puzrin
1dba8be089
Removed tests added to spec and fixed coverage
10 years ago
Kirill Efimov
a3a49b5c55
Tables: add/remove columns to match the first row, fix #59
10 years ago
Vitaly Puzrin
43780be419
Improved reference scan efficiency, related to #54
10 years ago
Vitaly Puzrin
e77666c4a0
moved normalizeReference to utils, closes #42
10 years ago
Kirill Efimov
0076a1ebab
Added ability to escape table row separator, fix #5
10 years ago
opennota
b31b675a30
Remove unused assignment
10 years ago
opennota
ffade4d421
Fix comparing array and number
10 years ago
Alex Kocharin
8ca0b5b52b
Fix code coverage in references
10 years ago
Vitaly Puzrin
18efc864bd
Removed dead code in block rules & improved tests coverage
10 years ago
Alex Kocharin
a89d6758d7
Remove dead code in list.js
It was there because of the overly-defensive programming.
indentAfterMarker is set to 1 in line 159, it's never less than that
10 years ago
Vitaly Puzrin
90e5a9c9cc
Bulk rules rename (unify)
10 years ago