From 08be1fea74bb1de6559c13d7ae244203dbbf001b Mon Sep 17 00:00:00 2001 From: James Foster Date: Mon, 18 Nov 2024 16:22:36 +1100 Subject: [PATCH] Deprecate MIME for Juno, add VSCode --- src/output.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output.jl b/src/output.jl index a98142f..911eb95 100644 --- a/src/output.jl +++ b/src/output.jl @@ -269,8 +269,8 @@ end Base.show(io::IO, ::MIME"text/html", p::Plot; kwargs...) = to_html(io, p; kwargs...) -# integration with vscode and Juno -function Base.show(io::IO, ::MIME"application/prs.juno.plotpane+html", p::Plot) +# integration with VSCode +function Base.show(io::IO, ::MIME"juliavscode/html", p::Plot) show(io, MIME("text/html"), p; include_mathjax="cdn", include_plotlyjs="cdn") end