Cannot import .Rmd and .R files as text
Thank you for your excellent plugin.
I imported as text files successfully .txt, .md and .html files. But did not succeed with .Rmd and .R files.
I do not know what I did wrong. See my plugin configuration.

- macOS 12.4. (Monterey),
- Joplin Desktop 2.8.8 (prod, darwin)
- Hotfolderv1.0.1
the files are imported as attachement?
Yes. Your plugin created a new note with the name of the .R file, and inside this new note, the file was imported as an attachment.
There is a small bug on mixed case file extentions.
Could you please test the attached Version.
- Downlaod io.github.jackgruber.hotfolder.zip
- Close Joplin
- Replace the the
io.github.jackgruber.hotfolder.jplin.config\joplin-desktop\pluginswith the version from the Zip file - Start Joplin
When I downloaded io.github.jackgruber.hotfolder.zip and unzipped it I got a folder with a manifest.json and an index.js file, but not a .jpl file, not io.github.jackgruber.hotfolder.jpl.
When you unzip the file there is a is a io.github.jackgruber.hotfolder.jpl file, when you untar the jpl file, then you would see a index.js and a manifest.json. Plz. don't untar the jpl.
Thank you for your help and patience. I didn't know that macOS automatically untars .zip files by default. I had to use The Unarchiver, a third-party tool, to get the .jpl file.
.Rmd and .R files are not attached anymore as PDFs but imported as text into Joplin! 👍
But there are two errors in the conversion process:
- Frontmatter in
.Rmdfiles is not converted correctly. It displays wrongly in the Viewer, but also in the edit mode is a formatting error in the last line. - The parameters for code snippets are not preserved.
I produced a screenshot and loaded it to Imgur so you can see it yourself. (Uploading into this GitHub post didn't work.)
Sorry, the file is imported as 1 to 1 as text, therefore also frontmatter would be imported as text. The hotfolder handles the text content as you copy paste it into a note.
Ok, thank you. That's fine with me!