Vitaly Puzrin
|
760050edcb
|
eslint update & code cleanup
|
9 years ago |
Alex Kocharin
|
0318337a3d
|
Bump table priority before code blocks
ref https://github.com/markdown-it/markdown-it/issues/120
|
9 years ago |
Alex Kocharin
|
b2aee1a978
|
Expand tabs only when it's needed, as per CommonMark 0.21
|
10 years ago |
Vitaly Puzrin
|
0101316695
|
Removed blockquote from termination rules for the self
|
10 years ago |
Vitaly Puzrin
|
da35a6bd1d
|
Removed not needed empty array im params
|
10 years ago |
Alex Kocharin
|
b5d7c2eb88
|
Don't terminate references with other references
ref #54
|
10 years ago |
Vitaly Puzrin
|
584e55861c
|
Moved input normalization to core chain
|
10 years ago |
Vitaly Puzrin
|
5613f3c47b
|
Don't try to normalize unicode whitespaces
|
10 years ago |
Vitaly Puzrin
|
90e5a9c9cc
|
Bulk rules rename (unify)
|
10 years ago |
Vitaly Puzrin
|
26ee0a6252
|
Removed deflist rule (move to plugin)
|
10 years ago |
Vitaly Puzrin
|
57d56c43fb
|
Removed footnote rules (move to plugin)
|
10 years ago |
Vitaly Puzrin
|
b2a212ffc3
|
Replace null characters with 0xFFFD instead of strip
|
10 years ago |
Vitaly Puzrin
|
c0ccaa79ce
|
Removed abbr rules (move to plugin)
|
10 years ago |
Alex Kocharin
|
8cb29935a3
|
Move reference rule to the block chain
|
10 years ago |
Alex Kocharin
|
3a3904ad79
|
Move abbreviations from core to a block chain
|
10 years ago |
Vitaly Puzrin
|
e72603af70
|
Moved nesting check from rules to upper level
|
10 years ago |
Vitaly Puzrin
|
96a1c73405
|
typo fixes
|
10 years ago |
Vitaly Puzrin
|
a66e29f8d0
|
Place md link to states and remove other aliases
|
10 years ago |
Vitaly Puzrin
|
3f353603eb
|
Core, ParseBlock, ParseInline minimal docs & minor fixes
|
10 years ago |
Vitaly Puzrin
|
d8c1b1f7d6
|
Strip NULL characters, according to new spec
|
10 years ago |
Alex Kocharin
|
3f16868edd
|
Add definition lists
|
10 years ago |
Alex Kocharin
|
faae7485b7
|
Add footnote rules
|
10 years ago |
Vitaly Puzrin
|
0c26266918
|
Don't modify env in inline mode
|
10 years ago |
Vitaly Puzrin
|
c70700151a
|
Updated parsers API - don't rewrite token arrays in StateCore
|
10 years ago |
Vitaly Puzrin
|
d917047d32
|
Removed unnecessary conditions
|
10 years ago |
Vitaly Puzrin
|
615d8cdb8a
|
Added inlineRender & inlineParse methods
|
10 years ago |
Vitaly Puzrin
|
d5683371b3
|
Added emails autolinking and improved tests coverage
|
10 years ago |
Vitaly Puzrin
|
2b741deb18
|
Isolated rules management & rules cache build
|
10 years ago |
Vitaly Puzrin
|
06fe4b9e53
|
Fixed fuckup on minification mangling, related to #89
|
10 years ago |
Vitaly Puzrin
|
220efa32e8
|
updated eslint to 9.1 & did appropriate changes in sources
|
10 years ago |
Vitaly Puzrin
|
bc7b8e2f89
|
Perf: regex opts
|
10 years ago |
Vitaly Puzrin
|
07a5bf5c7f
|
listMode -> parentType
|
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
|
46f73c6fbd
|
Extended spaces & line breaks normalization
|
10 years ago |
Vitaly Puzrin
|
5bd71f91a7
|
Moved state helpers to State* classes
|
10 years ago |
Vitaly Puzrin
|
b9d3828a5d
|
Cleanup
|
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
|
d3658c33dc
|
Workaround for a bug with nested list elements tightness
|
10 years ago |
Alex Kocharin
|
45da119338
|
Parse link reference definitions
|
10 years ago |
Alex Kocharin
|
178cdf4777
|
Fix paragraph tightness
`state.tight` might be updated in the rules, so we should set it
after running rules, not before
|
10 years ago |
Alex Kocharin
|
1449ac720a
|
Remove stopOnTwoNewlines argument in block parser
Replaced with block.listMode (boolean)
|
10 years ago |
Vitaly Puzrin
|
a8e6bab747
|
Reworked html parse in block lexer + added `html` option
|
10 years ago |
Vitaly Puzrin
|
e6341a4812
|
Files reorganize/cleanup
|
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
|
d6651b5ce6
|
Reimplement lists using indent algorithm
And put blkIndents everywhere appropriate in block rules.
|
10 years ago |
Alex Kocharin
|
60f36941fa
|
Better algorithm for parsing lists
|
10 years ago |