Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make iOS Evernote client respect plugin formatting? #200

Open
axfelix opened this issue Dec 19, 2017 · 3 comments
Open

Make iOS Evernote client respect plugin formatting? #200

axfelix opened this issue Dec 19, 2017 · 3 comments

Comments

@axfelix
Copy link

axfelix commented Dec 19, 2017

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!

@bordaigorl
Copy link
Owner

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

@axfelix
Copy link
Author

axfelix commented Oct 15, 2018

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.

@bordaigorl
Copy link
Owner

bordaigorl commented Oct 15, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants