Cannot call `show(io,MIME...`

The function expects an instance of the MIME type, not the type itself.

julia> show(stdout,MIME"text/plain"(),x)
hello

Alternative:

julia> show(stdout,"text/plain",x)
hello
3 Likes