-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of list-item bullets in gfm-mode
Closes GH-110.
- Loading branch information
Showing
12 changed files
with
1,725 additions
and
1,406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,351 @@ | ||
{ | ||
"type": "root", | ||
"children": [ | ||
{ | ||
"type": "heading", | ||
"depth": 1, | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Mixed spaces and tabs", | ||
"position": { | ||
"start": { | ||
"line": 1, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 24 | ||
}, | ||
"indent": [] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 1, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 24 | ||
}, | ||
"indent": [] | ||
} | ||
}, | ||
{ | ||
"type": "list", | ||
"ordered": false, | ||
"start": null, | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "listItem", | ||
"loose": false, | ||
"checked": null, | ||
"children": [ | ||
{ | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Very long\n\t\t\tparagraph", | ||
"position": { | ||
"start": { | ||
"line": 3, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
0 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 3, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
0 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 3, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 3, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 4, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "list", | ||
"ordered": true, | ||
"start": 1, | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "listItem", | ||
"loose": false, | ||
"checked": null, | ||
"children": [ | ||
{ | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Very long\n\tparagraph", | ||
"position": { | ||
"start": { | ||
"line": 6, | ||
"column": 4 | ||
}, | ||
"end": { | ||
"line": 7, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
2 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 6, | ||
"column": 4 | ||
}, | ||
"end": { | ||
"line": 7, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
2 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 6, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 7, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 6, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 7, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "list", | ||
"ordered": false, | ||
"start": null, | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "listItem", | ||
"loose": false, | ||
"checked": null, | ||
"children": [ | ||
{ | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Very long\n\tparagraph", | ||
"position": { | ||
"start": { | ||
"line": 9, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 10, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
2 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 9, | ||
"column": 3 | ||
}, | ||
"end": { | ||
"line": 10, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
2 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 9, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 10, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 9, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 10, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "list", | ||
"ordered": true, | ||
"start": 1, | ||
"loose": false, | ||
"children": [ | ||
{ | ||
"type": "listItem", | ||
"loose": false, | ||
"checked": null, | ||
"children": [ | ||
{ | ||
"type": "paragraph", | ||
"children": [ | ||
{ | ||
"type": "text", | ||
"value": "Very long\n\tparagraph", | ||
"position": { | ||
"start": { | ||
"line": 12, | ||
"column": 4 | ||
}, | ||
"end": { | ||
"line": 13, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
2 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 12, | ||
"column": 4 | ||
}, | ||
"end": { | ||
"line": 13, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
2 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 12, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 13, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 12, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 13, | ||
"column": 12 | ||
}, | ||
"indent": [ | ||
1 | ||
] | ||
} | ||
} | ||
], | ||
"position": { | ||
"start": { | ||
"line": 1, | ||
"column": 1 | ||
}, | ||
"end": { | ||
"line": 14, | ||
"column": 1 | ||
} | ||
} | ||
} |
Oops, something went wrong.