title: What mime types are plain text?
body: <p>I'm writing a small Javascript function that gives out a preview of a file if its content can be inserted into a <code>div.innerText</code>, so I'm looking for all text-based mime types. For example, I know that <code>text/*</code> all satisfy this requirement, but there's also <code>application/json</code> for example. Is there a comprehensive list of such types?</p>