Alex Kocharin
|
9fe835bc12
|
Fix mappings for table rows
- `table`, `tbody`, `tr` now have mapping
- `th`, `td`, `inline` in tables do not have it
close https://github.com/markdown-it/markdown-it/issues/705
|
4 years ago |
Alex Kocharin
|
3021a5207b
|
Bring pipe escape algorithm in tables closer to gfm
- table now doesn't deal with backticks at all
- `|` is considered escaped if and only if there is a `\` character immediately before it
- number of elements in the first row (thead) now must match second row (aligns) exactly
- no tbody if it would be empty
close https://github.com/markdown-it/markdown-it/issues/689
close https://github.com/markdown-it/markdown-it/pull/697
|
4 years ago |
Alex Kocharin
|
0b1699b034
|
Add missing line mapping for table rows
fix https://github.com/markdown-it/markdown-it/issues/705
|
4 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
|
1bb254b879
|
Allow tabs inside GFM tables
|
8 years ago |
Sean Lang
|
10d6448b22
|
support tables with missing values
(and add supporting test case)
|
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 |
JT
|
ba16fad6a2
|
Don't split cells on pipe characters inside backticks.
Includes some relevant test cases.
Fixes #86
|
10 years ago |
Alex Kocharin
|
4aabd5592e
|
Use a common class for tokens
|
10 years ago |
Kirill Efimov
|
a3a49b5c55
|
Tables: add/remove columns to match the first row, fix #59
|
10 years ago |
Kirill Efimov
|
0076a1ebab
|
Added ability to escape table row separator, fix #5
|
10 years ago |
opennota
|
ffade4d421
|
Fix comparing array and number
|
10 years ago |
Alex Kocharin
|
a261f91957
|
allow one-column tables
|
10 years ago |
Alex Kocharin
|
065eba8bda
|
Add "lines" attribute to all block-level tokens
(except for the closing ones)
|
10 years ago |
Alex Kocharin
|
46402a32b4
|
Replace bqMarks logic with negative tShift
|
10 years ago |
Vitaly Puzrin
|
6db093844b
|
Avoid shadow copy for inline containers
|
10 years ago |
Vitaly Puzrin
|
5512f9cdcd
|
Deopts: fixed tables
|
10 years ago |
Alex Kocharin
|
ec90a38df2
|
Fix tables inside lists/blockquotes
|
10 years ago |
Alex Kocharin
|
6e704c2dce
|
Add remarked tests for tables and fix renderer accordingly
|
10 years ago |
Alex Kocharin
|
0453b72bf1
|
Rename "lexer" to "parser"
and move rules from lexer_* to rules_*
|
10 years ago |
Alex Kocharin
|
46dc1f93ac
|
Add state.level everywhere
|
10 years ago |
Vitaly Puzrin
|
e6341a4812
|
Files reorganize/cleanup
|
10 years ago |
Vitaly Puzrin
|
9728b685ec
|
Rewritten string fetch for inline tokenizer + list fixes
|
10 years ago |
Alex Kocharin
|
1b60163ba3
|
Moved empty lines logic from rules to block parser
|
10 years ago |
Alex Kocharin
|
0393a77aee
|
Added lists and basic support for tables
|
10 years ago |