mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Fix for relative markdown image paths (#4889)
* Fix for relative markdown image paths * PR comments
This commit is contained in:
committed by
Chris LaFreniere
parent
76a2f92daf
commit
a2b87f6158
@@ -134,8 +134,10 @@ export class MarkdownEngine {
|
||||
|
||||
// {{SQL CARBON EDIT}} - Add renderText method
|
||||
public async renderText(document: vscode.Uri, text: string): Promise<string> {
|
||||
const engine = await this.getEngine(this.getConfig(document));
|
||||
return engine.render(text);
|
||||
const config = this.getConfig(document);
|
||||
const engine = await this.getEngine(config);
|
||||
this.currentDocument = document;
|
||||
return engine.render(text, config);
|
||||
}
|
||||
// {{SQL CARBON EDIT}} - End
|
||||
|
||||
|
||||
Reference in New Issue
Block a user