Refresh Images In Markdown Preview On Change (#114083)

* Refresh Images In Markdown Preview On Change (implements #65258).

* Fixes tests.

* Implements etags.

* Adds tests for urlToUri.

* Updates doc comment.
This commit is contained in:
Henning Dieterichs
2021-01-20 03:01:21 +01:00
committed by GitHub
parent 686cd7df53
commit 1f8643ef76
11 changed files with 200 additions and 24 deletions

View File

@@ -15,6 +15,6 @@ export class RenderDocument implements Command {
) { }
public async execute(document: SkinnyTextDocument | string): Promise<string> {
return this.engine.render(document);
return (await (this.engine.render(document))).html;
}
}