Add support to detect txt and markdown files as documents. I think both can be done if all content is valid UTF-8 and doesn't match anything else, and markdown additionally has some of the markdown syntax, like \n# for h1 headers. Similar mechanism can be done for other formats like asciidoc or alike.
Add support to detect
txtand markdown files as documents. I think both can be done if all content is valid UTF-8 and doesn't match anything else, and markdown additionally has some of the markdown syntax, like\n#for h1 headers. Similar mechanism can be done for other formats like asciidoc or alike.