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 |
Alex Kocharin
|
691516762a
|
Fix blockquotes inside lists
Need to zero out blkIndent, failed test:
---
* a
> b
>
* c
---
|
10 years ago |
Alex Kocharin
|
e3a7ddf4a8
|
Blockquote parsing improved
|
10 years ago |
Alex Kocharin
|
7a8899e501
|
Fix nested elements inside lists
"# foo" should be parsed as "h1", not as a continuation
---
- test
# foo
---
|
10 years ago |
Vitaly Puzrin
|
9728b685ec
|
Rewritten string fetch for inline tokenizer + list fixes
|
10 years ago |
Alex Kocharin
|
60f36941fa
|
Better algorithm for parsing lists
|
10 years ago |
Alex Kocharin
|
470bfecbd4
|
Better algorithm for parsing block quotes
|
10 years ago |
Alex Kocharin
|
1b60163ba3
|
Moved empty lines logic from rules to block parser
|
10 years ago |
Vitaly Puzrin
|
65f096804a
|
list review & reorganize
|
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 |
Alex Kocharin
|
bb0175e194
|
Added bullet list stub
This is incomplete yet:
- one element per list only
- list item may contain only one paragraph
|
10 years ago |
Alex Kocharin
|
0912291a85
|
Added blockquotes stub
|
10 years ago |