Obsidian Version 1.6.3 (Installer 1.5.3) on Macbook Apple Silicon
I frequently have plain text files (generated on Linux) that I copy to my Macbook and then drag and drop into my Obsidian notes.
Even though they are embedded with the syntax ![[some-logfile.txt]], they don’t render like PDF’s do when I switch to reading view. I can click the file to open in the default text editor, but I’d really love for them to render inside Obsidian so that I can scroll through it without leaving the app.
Is there a way to make text files do this in Obsidian?
there are nothing to render in a plaintext file. it is just text with no imbded instructions for it to be rendered.
Files like PDFs are packed with styling code and graphics.
what you are asking about can not be done. Unless the text file is written in specific syntax, then syntax highlighters in text editiors will make it easier to style and read.
If you are using Obsidian to read logfiles with thousands of line, I believe you are using the wrong tool.