Can you refer any specific community plugins? I tested Custom File Extensions plugin and it treats txt files as they were markdown. It seems there’s no way to disable rendering for txt files. One solution is to use this CSS‑snippet (that targets every file in source mode).