Skip to content

Commit 732a34c

Browse files
committed
support HTML and trust ddoc markdown
1 parent 466ac04 commit 732a34c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/extension.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,11 @@ async function startClient(context: vscode.ExtensionContext) {
228228
},
229229
revealOutputChannelOn: RevealOutputChannelOn.Never,
230230
outputChannel: outputChannel,
231-
errorHandler: new CustomErrorHandler(outputChannel)
231+
errorHandler: new CustomErrorHandler(outputChannel),
232+
markdown: {
233+
isTrusted: true,
234+
supportHtml: true
235+
}
232236
};
233237
let client = new LanguageClient("serve-d", "code-d & serve-d", executable, clientOptions);
234238
await client.start();

0 commit comments

Comments
 (0)