Skip to content

Commit 50b0873

Browse files
committed
preserve indentation in markdown cell code blocks
Fix microsoft#100340
1 parent 2da2634 commit 50b0873

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

src/vs/workbench/contrib/notebook/browser/media/notebook.css

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -607,22 +607,10 @@
607607
line-height: 1.357em;
608608
}
609609

610-
.monaco-workbench .notebookOverlay .cell.markdown body.wordWrap pre {
610+
.monaco-workbench .notebookOverlay .cell.markdown .code {
611611
white-space: pre-wrap;
612612
}
613613

614-
.monaco-workbench .notebookOverlay .cell.markdown pre:not(.hljs),
615-
.monaco-workbench .notebookOverlay .cell.markdown pre.hljs code > div {
616-
padding: 16px;
617-
border-radius: 3px;
618-
overflow: auto;
619-
}
620-
621-
.monaco-workbench .notebookOverlay .cell.markdown pre code {
622-
color: var(--vscode-editor-foreground);
623-
tab-size: 4;
624-
}
625-
626614
.monaco-workbench .notebookOverlay .cell.markdown .latex-block {
627615
display: block;
628616
}

0 commit comments

Comments
 (0)