Open
Description
I was reading through the docs section on Custom pretty-printing which introduces adding methods of show
for different MIME types, but I have not been able to find the following information on MIMEs in the docs:
- What is a MIME?
- What MIMEs are available, and which should I implement for my custom type?
- When to use each of the various MIME creation methods shown and what the differences are?
a.show(stdout, ::MIME("text/plain"), "hi")
b.show(stdout, MIME("text/plain"), "hi")
c.show(stdout, MIME"text/plain", "hi")
d.show(stdout, "text/plain", "hi")
.
The docs passage linked above has links to Networking and Streams and Multimedia I/O, but neither contain the information I am looking for. I imagine that information should be added to the top of Multimedia I/O, but I have not been able to find the answers myself yet outside of Wikipedia.
(I have an open PR #56767 on the Custom pretty-printing section to add other clarifications, but I'm not sure that is the place to add information about the MIMEs themselves.)