Vitaly Puzrin
|
f4866cb76b
|
Inline lexer draft
|
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
|
4f834e417d
|
Fix list continuation.
It should take indent into account:
---
- lev1
- lev2
- next
---
|
10 years ago |
Alex Kocharin
|
e3a7ddf4a8
|
Blockquote parsing improved
|
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 |
Alex Kocharin
|
d8fd23eb49
|
Fix nested code blocks inside lists
This is now parsed correctly:
---
- test
---
|
10 years ago |
Vitaly Puzrin
|
d106c1fc5f
|
Added stmd to benchmark
|
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 |
Vitaly Puzrin
|
2c7edcb3a3
|
Frozen eslint version to fix warnings
|
10 years ago |
Alex Kocharin
|
2905b707bc
|
Removing two failed tests
|
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
|
4e75fccb7d
|
Fix .editorconfig
1. For makefiles indentation is <tab>
2. For markdown files whitespace shouldn't be trimmed
|
10 years ago |
Vitaly Puzrin
|
e0a153fe09
|
fences, heading, list fixes for stmd cases
|
10 years ago |
Vitaly Puzrin
|
80b4223040
|
Replace tabs properly
|
10 years ago |
Vitaly Puzrin
|
1a48d7355c
|
Updated stmd fixtures
|
10 years ago |
Vitaly Puzrin
|
4aa169634f
|
Tight lists + shink start of strings in inline blocks
|
10 years ago |
Vitaly Puzrin
|
bdb1e17a99
|
Replaced old stmd tests with fresh specs
|
10 years ago |
Vitaly Puzrin
|
abc2900ce6
|
Pass token index to renderer fn + use it for br magick
|
10 years ago |
Vitaly Puzrin
|
8286880878
|
Minor assorted fixes to better match spec
|
10 years ago |
Vitaly Puzrin
|
8000a08891
|
Added stmd spec processor tool
|
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
|
0393a77aee
|
Added lists and basic support for tables
|
10 years ago |
Vitaly Puzrin
|
79a25c777f
|
Renderer rules are now modifiable
|
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
|
4e0453e4a5
|
Fixed fenses & updated tests
|
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 |
Vitaly Puzrin
|
9f4952fd0a
|
Improved fixtures structure
|
10 years ago |
Alex Kocharin
|
0912291a85
|
Added blockquotes stub
|
10 years ago |
Vitaly Puzrin
|
52b4e44de4
|
Splitted block lexer & index to files
|
10 years ago |
Vitaly Puzrin
|
30b401e22b
|
Updated test fixtures & loader
|
10 years ago |
Vitaly Puzrin
|
9c99ff47a1
|
lhead, fences, indent cache
|
10 years ago |
Vitaly Puzrin
|
e9645b6e4e
|
atx headers + access to named rules via lexers
|
10 years ago |
Vitaly Puzrin
|
c72bba2090
|
Added lexer/renderer stubs
|
10 years ago |
Vitaly Puzrin
|
aaa48c13a1
|
Updated `make gh-pages`
|
10 years ago |
Vitaly Puzrin
|
6be971da24
|
Added demo stub and updated docs
|
10 years ago |
Vitaly Puzrin
|
c8be724b3f
|
First commit
|
10 years ago |