Vitaly Puzrin
|
61f21ac848
|
Replaced `assign` helper
|
10 years ago |
Vitaly Puzrin
|
1342db2d96
|
Added typographer draft
|
10 years ago |
Alex Kocharin
|
9942fd5b4b
|
Add strikeout (del) tag
+ trivial emphasis bugfix
|
10 years ago |
Vitaly Puzrin
|
892460ed0b
|
Options rename
|
10 years ago |
Vitaly Puzrin
|
bff7f50fc0
|
Removed orphaned code
|
10 years ago |
Alex Kocharin
|
0705173c87
|
Move link helpers to it's own file
+ return value of parseLink* functions in the state
|
10 years ago |
Alex Kocharin
|
bbac451a42
|
Trivial bugfix in the links rule
|
10 years ago |
Alex Kocharin
|
9aea37acc1
|
Limit element depth
|
10 years ago |
Vitaly Puzrin
|
7a13199f6d
|
Moved rules manager to separate class (inline parser)
|
10 years ago |
Vitaly Puzrin
|
7390503066
|
Moved rules manager to separate class (block parser only)
|
10 years ago |
Vitaly Puzrin
|
ece7b3e3f1
|
Renamed main class & file
|
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 |
Vitaly Puzrin
|
58f2b8c37e
|
Added syntax highlight support for fenced blocks
|
10 years ago |
Alex Kocharin
|
46dc1f93ac
|
Add state.level everywhere
|
10 years ago |
Alex Kocharin
|
b492fa2cc2
|
Add tokenizeSingle method
|
10 years ago |
Alex Kocharin
|
d3658c33dc
|
Workaround for a bug with nested list elements tightness
|
10 years ago |
Alex Kocharin
|
3afaf55344
|
Fix: "\*" isn't a part of a emphasis marker sequence
|
10 years ago |
Alex Kocharin
|
0894209d96
|
Fix: whitespace in links element can contain newlines
|
10 years ago |
Vitaly Puzrin
|
bad3649d0f
|
Set breaks off by default
|
10 years ago |
Vitaly Puzrin
|
9b1df74176
|
Code cleanup
|
10 years ago |
Vitaly Puzrin
|
6b0c7665b8
|
Fixed entities in links & fences according to new spec
|
10 years ago |
Vitaly Puzrin
|
e44a781160
|
Fixed entities in text for new spec
|
10 years ago |
Vitaly Puzrin
|
ca47821eaa
|
HTML block fix (tag names should be case incensitive)
|
10 years ago |
Alex Kocharin
|
7884adfda2
|
Small bugfixes
|
10 years ago |
Alex Kocharin
|
7432a6827c
|
Add collapsed and full reference links
|
10 years ago |
Alex Kocharin
|
45da119338
|
Parse link reference definitions
|
10 years ago |
Alex Kocharin
|
0b6b9d206d
|
Parse links and images
|
10 years ago |
Vitaly Puzrin
|
f13f984335
|
Added `breaks` option, on by default
|
10 years ago |
Alex Kocharin
|
74a84f8ecd
|
Implement emphasis parsing
|
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
|
b3515881f3
|
Fix two consecutive newlines in nested lists
|
10 years ago |
Alex Kocharin
|
1449ac720a
|
Remove stopOnTwoNewlines argument in block parser
Replaced with block.listMode (boolean)
|
10 years ago |
Vitaly Puzrin
|
c384f13798
|
API & options names polish
|
10 years ago |
Vitaly Puzrin
|
5d89fd85b0
|
Added inline html tags support
|
10 years ago |
Vitaly Puzrin
|
1f7054c187
|
moved url schemas list to external file
|
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 |
Vitaly Puzrin
|
d87eeb2ab0
|
Assorted fixes & speed opts
|
10 years ago |
Vitaly Puzrin
|
c9af6654f8
|
Reworked whitetspaces cleanup in inlines
|
10 years ago |
Vitaly Puzrin
|
172e77c318
|
Added backticks parse
|
10 years ago |
Vitaly Puzrin
|
0d8b010bd2
|
Added autolink parse
|
10 years ago |
Vitaly Puzrin
|
1543a38cd7
|
Updated text match rule
|
10 years ago |
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 |