Alex Kocharin
|
b2aee1a978
|
Expand tabs only when it's needed, as per CommonMark 0.21
|
9 years ago |
Alex Kocharin
|
d292f72b69
|
Add/fix indentation checking in blockquotes
fix #111
|
10 years ago |
Vitaly Puzrin
|
d6128515b3
|
Removed unnecessary checks
|
10 years ago |
Alex Kocharin
|
4aabd5592e
|
Use a common class for tokens
|
10 years ago |
Vitaly Puzrin
|
18efc864bd
|
Removed dead code in block rules & improved tests coverage
|
10 years ago |
Vitaly Puzrin
|
a66e29f8d0
|
Place md link to states and remove other aliases
|
10 years ago |
Alex Kocharin
|
d39417e100
|
Added a core chain
|
10 years ago |
Vitaly Puzrin
|
2b741deb18
|
Isolated rules management & rules cache build
|
10 years ago |
Vitaly Puzrin
|
d5c588b130
|
Simplified loose/tight logic. Closes #50
|
10 years ago |
Alex Kocharin
|
065eba8bda
|
Add "lines" attribute to all block-level tokens
(except for the closing ones)
|
10 years ago |
Vitaly Puzrin
|
6db093844b
|
Avoid shadow copy for inline containers
|
10 years ago |
Vitaly Puzrin
|
5bd71f91a7
|
Moved state helpers to State* classes
|
10 years ago |
Vitaly Puzrin
|
7390503066
|
Moved rules manager to separate class (block parser only)
|
10 years ago |
Alex Kocharin
|
0453b72bf1
|
Rename "lexer" to "parser"
and move rules from lexer_* to rules_*
|
10 years ago |
Alex Kocharin
|
c8fa672cec
|
Move parse_reference to its own file
+ change its signature
|
10 years ago |
Alex Kocharin
|
46dc1f93ac
|
Add state.level everywhere
|
10 years ago |
Alex Kocharin
|
7884adfda2
|
Small bugfixes
|
10 years ago |
Alex Kocharin
|
45da119338
|
Parse link reference definitions
|
10 years ago |
Vitaly Puzrin
|
c384f13798
|
API & options names polish
|
10 years ago |
Vitaly Puzrin
|
a8e6bab747
|
Reworked html parse in block lexer + added `html` option
|
10 years ago |
Vitaly Puzrin
|
d87eeb2ab0
|
Assorted fixes & speed opts
|
10 years ago |
Vitaly Puzrin
|
f4866cb76b
|
Inline lexer draft
|
10 years ago |
Vitaly Puzrin
|
350d0174df
|
Added html block draft + minor fixes
|
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
|
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
|
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
|
65f096804a
|
list review & reorganize
|
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 |
Vitaly Puzrin
|
52b4e44de4
|
Splitted block lexer & index to files
|
10 years ago |