Skip to content

Commit

Permalink
Merge pull request #111 from jd-foster/jdf/vscode-html
Browse files Browse the repository at this point in the history
Deprecate MIME for Juno, add VSCode
  • Loading branch information
sglyon authored Nov 23, 2024
2 parents fc32836 + dcde484 commit fd415b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd415b8

Please sign in to comment.