Page 1 of 1

Make Scrivener interpret research files as text

Posted: Sat Aug 04, 2018 1:34 pm
by RonJeffries
I dragged some YAML and course files into research for a thing I'm writing. Scrivener has decided it doesn't understand them.

How can I tell it that these files are just text and to show them as such?

Thanks!

Re: Make Scrivener interpret research files as text

Posted: Sat Aug 04, 2018 2:00 pm
by lunk
If it’s all just text, can’t you open those files in e.g. TextEdit, select all, copy, make a new empty Research document and paste it?

Re: Make Scrivener interpret research files as text

Posted: Sat Aug 04, 2018 2:05 pm
by RonJeffries
I can, and I did. However, Scrivener conveniently offers the ability to drag things into the folder, and then is like "Huh?" when they're in there. If there's a way to drag in a batch and then tag them, it would save a lot of copy/paste.

Re: Make Scrivener interpret research files as text

Posted: Sat Aug 04, 2018 2:09 pm
by KB
I'm not entirely sure what you mean, but if you mean that you dragged YAML files into Scrivener and they are not editable but just shown in a Quick Look preview in the editor when you want them imported as text, then you just need to go to Scrivener's "Import" Preferences (under "Sharing") and add "yaml" to the list of plain text import formats, then re-import.

Re: Make Scrivener interpret research files as text

Posted: Sat Aug 04, 2018 2:13 pm
by RonJeffries
Thanks, boss, that'll do it. What I had hoped for was a way to click the binder item post-hoc and say "hey wait this is just text". The other ways, preplanning or copy-paste will work.

Thanks,