diff --git a/extensions/markdown-language-features/notebook/index.ts b/extensions/markdown-language-features/notebook/index.ts index 7bda590e9e3..2586457e2c2 100644 --- a/extensions/markdown-language-features/notebook/index.ts +++ b/extensions/markdown-language-features/notebook/index.ts @@ -159,13 +159,15 @@ export const activate: ActivationFunction = (ctx) => { border-left-style: solid; } - code, - .code { + code { font-size: 1em; - line-height: 1.357em; } - .code { + pre code { + font-family: var(--vscode-editor-font-family); + font-size: var(--vscode-editor-font-size); + + line-height: 1.357em; white-space: pre-wrap; } `;