Alex Kocharin
|
b2aee1a978
|
Expand tabs only when it's needed, as per CommonMark 0.21
|
9 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
|
2af5f87f02
|
Removed unnecessary conditions
|
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 |
Vitaly Puzrin
|
1fde848a41
|
Fixed deopts
|
10 years ago |
Vitaly Puzrin
|
5bd71f91a7
|
Moved state helpers to State* classes
|
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
|
d87eeb2ab0
|
Assorted fixes & speed opts
|
10 years ago |
Vitaly Puzrin
|
f4866cb76b
|
Inline lexer draft
|
10 years ago |
Alex Kocharin
|
e3a7ddf4a8
|
Blockquote parsing improved
|
10 years ago |
Vitaly Puzrin
|
9728b685ec
|
Rewritten string fetch for inline tokenizer + list fixes
|
10 years ago |
Alex Kocharin
|
d6651b5ce6
|
Reimplement lists using indent algorithm
And put blkIndents everywhere appropriate in block rules.
|
10 years ago |
Alex Kocharin
|
470bfecbd4
|
Better algorithm for parsing block quotes
|
10 years ago |
Vitaly Puzrin
|
e0a153fe09
|
fences, heading, list fixes for stmd cases
|
10 years ago |
Vitaly Puzrin
|
8286880878
|
Minor assorted fixes to better match spec
|
10 years ago |
Alex Kocharin
|
1b60163ba3
|
Moved empty lines logic from rules to block parser
|
10 years ago |
Vitaly Puzrin
|
a8f9ea5b57
|
replaced jshint with eslint for better style check
|
10 years ago |
Vitaly Puzrin
|
52b4e44de4
|
Splitted block lexer & index to files
|
10 years ago |