Skip to content

Conversation

@ivanharvard
Copy link

Related to #78.

Instead of just assuming that *.txt files are plaintext, assume that the *.txt file is made up of some specific language. Infer that language using pygment's guess_lexer(), and use that as the lexer.

Warns the user when a *.txt file is being interpreted as a coding language. Warns the user that plaintext files are not well supported with structure.

image

This comment was marked as resolved.

@rongxin-liu
Copy link
Contributor

Thanks for trying! Closing this one now as it is superseded by #120.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distribution code included when comparing files without extensions Comparing .txt yields no result

3 participants