mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Fix folding code blocks / lists with front matter
This commit is contained in:
@@ -107,6 +107,7 @@ export class MarkdownEngine {
|
||||
return engine.parse(text, {}).map(token => {
|
||||
if (token.map) {
|
||||
token.map[0] += offset;
|
||||
token.map[1] += offset;
|
||||
}
|
||||
return token;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user