Alex Kocharin
|
b2aee1a978
|
Expand tabs only when it's needed, as per CommonMark 0.21
|
9 years ago |
Alex Kocharin
|
c5ee94aaf6
|
Fix skipLastLF handling in getLines
fix #116
|
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 |
Alex Kocharin
|
4aabd5592e
|
Use a common class for tokens
|
10 years ago |
Vitaly Puzrin
|
a66e29f8d0
|
Place md link to states and remove other aliases
|
10 years ago |
Alex Kocharin
|
3f16868edd
|
Add definition lists
|
10 years ago |
Vitaly Puzrin
|
c70700151a
|
Updated parsers API - don't rewrite token arrays in StateCore
|
10 years ago |
Vitaly Puzrin
|
a9895f72d0
|
Fixed regression in 1.2.1 release, closes #88
|
10 years ago |
Vitaly Puzrin
|
0cf8b0f362
|
StateBlock() cleanup
|
10 years ago |
Vitaly Puzrin
|
07a5bf5c7f
|
listMode -> parentType
|
10 years ago |
Vitaly Puzrin
|
7ea9c2cffb
|
StateBlock cleanup
|
10 years ago |
Alex Kocharin
|
46402a32b4
|
Replace bqMarks logic with negative tShift
|
10 years ago |
Vitaly Puzrin
|
a48454b99a
|
Clarified comments
|
10 years ago |
Vitaly Puzrin
|
5bd71f91a7
|
Moved state helpers to State* classes
|
10 years ago |
Vitaly Puzrin
|
ee42a637c4
|
Removed unused properties in StateBlock
|
10 years ago |
Vitaly Puzrin
|
a759af6f8a
|
Perf: speedup cache creation in StateBlock
|
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 |
Alex Kocharin
|
45da119338
|
Parse link reference definitions
|
10 years ago |
Alex Kocharin
|
1449ac720a
|
Remove stopOnTwoNewlines argument in block parser
Replaced with block.listMode (boolean)
|
10 years ago |
Vitaly Puzrin
|
c384f13798
|
API & options names polish
|
10 years ago |
Vitaly Puzrin
|
e6341a4812
|
Files reorganize/cleanup
|
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 |
Vitaly Puzrin
|
80b4223040
|
Replace tabs properly
|
10 years ago |
Vitaly Puzrin
|
4aa169634f
|
Tight lists + shink start of strings in inline blocks
|
10 years ago |
Vitaly Puzrin
|
a8f9ea5b57
|
replaced jshint with eslint for better style check
|
10 years ago |
Vitaly Puzrin
|
8cf045d940
|
Implemented nested blocks lexing, now block quotes works as expected
|
10 years ago |
Vitaly Puzrin
|
52b4e44de4
|
Splitted block lexer & index to files
|
10 years ago |
Vitaly Puzrin
|
9c99ff47a1
|
lhead, fences, indent cache
|
10 years ago |
Vitaly Puzrin
|
c72bba2090
|
Added lexer/renderer stubs
|
10 years ago |
Vitaly Puzrin
|
c8be724b3f
|
First commit
|
10 years ago |