Vitaly Puzrin
|
7dfcf69b71
|
standard: no spaces near array brackets
|
12 months ago |
Vitaly Puzrin
|
0eb4cb96a4
|
standard: space before function params
|
12 months ago |
Vitaly Puzrin
|
d0219010ad
|
standard: remove semi
|
12 months ago |
Vitaly Puzrin
|
88b8669c46
|
var => const, let
|
12 months ago |
Vitaly Puzrin
|
e92e776411
|
Rewrite core to es6 modules
|
1 year ago |
Alex Kocharin
|
254b776beb
|
Allow tildes in info string of a fence block with tilde marker
This is now allowed as per commonmark 0.29 spec:
~~~ js ~~~
console.log('hello, world!');
~~~
See also:
b7651e4f8b
|
5 years ago |
Alex Kocharin
|
c57f593b23
|
Fix blockquote termination by list item
close https://github.com/markdown-it/markdown-it/issues/338
|
8 years ago |
Alex Kocharin
|
93544ee4bf
|
Fenced code block info string should not contain fence marker
Fix https://github.com/markdown-it/markdown-it/issues/301
|
8 years ago |
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
|
90e5a9c9cc
|
Bulk rules rename (unify)
|
10 years ago |
Alex Kocharin
|
e7c60e1a01
|
Fix fences rule
closing fence should not be indented more than 3 spaces
|
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
|
5bd71f91a7
|
Moved state helpers to State* classes
|
10 years ago |
Vitaly Puzrin
|
b9d3828a5d
|
Cleanup
|
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 |
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
|
abc2900ce6
|
Pass token index to renderer fn + use it for br magick
|
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
|
8cf045d940
|
Implemented nested blocks lexing, now block quotes works as expected
|
10 years ago |
Vitaly Puzrin
|
4e0453e4a5
|
Fixed fenses & updated tests
|
10 years ago |
Vitaly Puzrin
|
52b4e44de4
|
Splitted block lexer & index to files
|
10 years ago |