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
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