Import from Evernote

@akos0215 I posted my experience using your wonderful tool over here:

I want to alert you to a couple of bugs I found and also give some feedback. I’m on MacOS 10.15.7 and used the no-install npx method.

Template path bug

I kept getting an error that my template file couldn’t be found. The error showed that yarle was looking for my template deep inside the .npm directory:
'/Users/dsteinbock/.npm/_npx/47104/lib/node_modules/yarle-evernote-to-md/dist/../ds-template.md'

My workaround was to back out of that directory with the following path in my config file: "templateFile": "../../../../../../ds-template.md",

It would be great if it just worked with absolute paths instead. Same for the enex source file, which I had to specify as "/../../test2.enex" - which is just confusing.

Location block bug

When a note has no location metadata attached, yarle outputs the template text when it should just skip outputting location:

---
evernote-notebook: test2
created-at: 2020-03-01T12:10:28-08:00
modified-at: 2020-12-09T13:03:55-08:00
{location-block}location: {location}{end-location-block}
tags: #test #test2
---

Feedback

Please don’t convert the filenames to lowercase. In Obsidian, since we use filenames directly in note text as links, the letter case is meaningful. So converting to lowercase is a loss of data.

5 Likes