8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7273a4 commit b90354eCopy full SHA for b90354e
src/webview/markdownEngine.ts
@@ -147,7 +147,7 @@ class MarkdownConfiguration {
147
public readonly fontFamily: string;
148
149
public constructor() {
150
- const markdownConfig: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration("markdown");
+ const markdownConfig: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration("markdown", null);
151
this.extRoot = path.join(vscode.env.appRoot, "extensions", "markdown-language-features");
152
this.lineHeight = Math.max(0.6, +markdownConfig.get<number>("preview.lineHeight", NaN));
153
this.fontSize = Math.max(8, +markdownConfig.get<number>("preview.fontSize", NaN));
0 commit comments