sublime-evernote icon indicating copy to clipboard operation
sublime-evernote copied to clipboard

Make iOS Evernote client respect plugin formatting?

Open axfelix opened this issue 7 years ago • 3 comments

Editing a note I've created in Sublime on the iPhone Evernote client inserts a lot of junk formatting and kind of screws up my markdown -- is there an officially-blessed way around this?

Thanks!

axfelix avatar Dec 19 '17 05:12 axfelix

If you post an example I can try and answer =)

bordaigorl avatar Oct 12 '18 13:10 bordaigorl

Basically, whenever I edit a markdown note on another client and then reload it in sublime, I get a lot of HTML linebreaks and things like that. I'm not sure if there is a way to tag a note "this is markdown" so other clients don't try to insert HTML.

axfelix avatar Oct 15 '18 02:10 axfelix

This looks like a common trend among Evernote clients: it is not trendy enough to simply wrap each paragraph in <p> tags. No. They need to put explicit linebreaks with <div><br/></div> every time you type enter. The big problem is that:

  1. this is not consistently done across client versions
  2. this is not done consistently across different clients
  3. this is undocumented and basically nowhere specified, so it can change arbitrarily
  4. how do we understand the difference between a <div><br/><div> that was entered in the markdown on purpose and one that was injected by the client?

I mean, I could add an option to toggle some "space trimming" but this is getting ridiculous.

bordaigorl avatar Oct 15 '18 23:10 bordaigorl