7 Commits (b2aee1a9789c74e5eba16ac71d6a7b256fc61067)

Author SHA1 Message Date
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 9 years ago
Alex Kocharin 4aabd5592e Use a common class for tokens 9 years ago
Vitaly Puzrin 18efc864bd Removed dead code in block rules & improved tests coverage 9 years ago
Alex Kocharin 065eba8bda Add "lines" attribute to all block-level tokens 10 years ago
Vitaly Puzrin 0e3e1171e6 Moved string helpers to utilities 10 years ago
Alex Kocharin 0453b72bf1 Rename "lexer" to "parser" 10 years ago
Alex Kocharin 46dc1f93ac Add state.level everywhere 10 years ago
Alex Kocharin 7a8899e501 Fix nested elements inside lists 10 years ago
Alex Kocharin d6651b5ce6 Reimplement lists using indent algorithm 10 years ago
Alex Kocharin 1b60163ba3 Moved empty lines logic from rules to block parser 10 years ago
Vitaly Puzrin 52b4e44de4 Splitted block lexer & index to files 10 years ago