I’m wondering if there’s a way to:
- either exclude .txt files from being styled at all
- or include a CSS snippet that would only target certain elements if the file has a .txt file extension.
In particular, if there is a solution that can do either of things but requires a plugin, it would be important that the plugin can also be used on mobile.
Why I want to do this:
I have started using some completely plain-text (e.g. .txt) files in my vault, amongst my .md files. And I don’t want to style those files. For example, I am using -- in a plain text file to demarcate a section break. However, Obsidian recognizes this as an indication that the text on the prior line is a header, and increases the text size of that text accordingly, per the CSS file.
But for my .txt file, I don’t want this to occur. I don’t want any CSS styling to occur at all for my .txt files.
Is this possible?