MCP resources can define the mime type, which can be text/markdown. When they are displayed, for example from the MCP Resource Browser, they appear as raw text. It'd be ideal if code could be smart enough to detect that, and display the file as markdown with the appropriate format and coloring.
https://modelcontextprotocol.io/specification/2025-06-18/server/resources#resource-contents
MCP resources can define the mime type, which can be
text/markdown. When they are displayed, for example from the MCP Resource Browser, they appear as raw text. It'd be ideal if code could be smart enough to detect that, and display the file as markdown with the appropriate format and coloring.https://modelcontextprotocol.io/specification/2025-06-18/server/resources#resource-contents