From 5aac6f2200aaa4c6da8d8253286315848cf09c72 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Fri, 30 Dec 2022 11:26:17 +1100 Subject: [PATCH] Remove markdown styles and move to renderer ext --- package.json | 3 --- resources/jupyter-markdown-style.css | 33 ---------------------------- 2 files changed, 36 deletions(-) delete mode 100644 resources/jupyter-markdown-style.css diff --git a/package.json b/package.json index fe734932b37..825b98cc2b0 100644 --- a/package.json +++ b/package.json @@ -2021,9 +2021,6 @@ "type": "Python Interactive Window Debug Adapter", "label": "%jupyter.debuggers.interactive%" } - ], - "markdown.previewStyles": [ - "resources/jupyter-markdown-style.css" ] }, "enabledApiProposals": [ diff --git a/resources/jupyter-markdown-style.css b/resources/jupyter-markdown-style.css deleted file mode 100644 index da677642e91..00000000000 --- a/resources/jupyter-markdown-style.css +++ /dev/null @@ -1,33 +0,0 @@ -/* These classnames are inherited from bootstrap, but are present in most notebook renderers */ - -.alert { - width: auto; - padding: 1em; - margin-top: 1em; - margin-bottom: 1em; -} -.alert > *:last-child { - margin-bottom: 0; -} -#preview > .alert:last-child { - /* Prevent this being set to zero by the default notebook stylesheet */ - padding-bottom: 1em; -} - -.alert-success { - /* Note there is no suitable color available, so we just copy "info" */ - background-color: var(--theme-info-background); - color: var(--theme-info-foreground); -} -.alert-info { - background-color: var(--theme-info-background); - color: var(--theme-info-foreground); -} -.alert-warning { - background-color: var(--theme-warning-background); - color: var(--theme-warning-foreground); -} -.alert-danger { - background-color: var(--theme-error-background); - color: var(--theme-error-foreground); -}