Skip to content

Commit 1f0d6b5

Browse files
mortenpistevengj
authored andcommitted
Make ipy_mime variable more readable (JuliaLang#694)
1 parent 7fcd0ef commit 1f0d6b5

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/inline.jl

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,19 @@ struct InlineDisplay <: Compat.AbstractDisplay end
44

55
# supported MIME types for inline display in IPython, in descending order
66
# of preference (descending "richness")
7-
const ipy_mime = [ "application/vnd.dataresource+json", "application/vnd.vegalite.v2+json", "application/vnd.vega.v3+json", "text/html", "text/latex", "image/svg+xml", "image/png", "image/jpeg", "text/plain", "text/markdown", "application/javascript" ]
7+
const ipy_mime = [
8+
"application/vnd.dataresource+json",
9+
"application/vnd.vegalite.v2+json",
10+
"application/vnd.vega.v3+json",
11+
"text/html",
12+
"text/latex",
13+
"image/svg+xml",
14+
"image/png",
15+
"image/jpeg",
16+
"text/plain",
17+
"text/markdown",
18+
"application/javascript"
19+
]
820

921
# need special handling for showing a string as a textmime
1022
# type, since in that case the string is assumed to be

0 commit comments

Comments
 (0)