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

Checkbox does not map correctly to Evernote

Open rahul-ramadas opened this issue 11 years ago • 4 comments

If I use a github-style checkbox, it doesn't quite look the same as using checkboxes in Evernote. If I open a note that has Evernote checkboxes in it, the items have a <en-todo/> tag. It would be nice if SublimeEvernote can properly map the github-style checkboxes to and from Evernote en-todos.

rahul-ramadas avatar Jun 08 '14 01:06 rahul-ramadas

Github's checkboxes are more structured than Evernote's checkboxes. For example: you can place the latter anywhere in the text while the former work only in lists.

So for now the supported workflow is: you write your notes in ST using github's syntax, then the note will contain <en-todo/> elements. If you reopen the note from ST you should still see Github's syntax. The only problem is when you tick the boxes (or modify the note) from another client, then the nice syntax is lost. I may consider parsing the syntax back when it fits github's one but this has low priority right now... unless you want to contribute with a Pull Request which will be much appreciated. Just fork the repo, create a "checkboxes" branch and submit a PR. Then work on the feature, you are probably going to have to modify the html2text.py script. When the PR is ready we can merge it in the main repo.

bordaigorl avatar Jun 08 '14 10:06 bordaigorl

@rahul-ramadas @bordaigorl Hey, just FYI, if I'm not mistaken about the issue here, I have a fix for this that I've implemented but haven't committed + pushed yet. I'll make a pull request soon. I've been using it for several months pretty successfully.

brynbellomy avatar Jul 06 '14 06:07 brynbellomy

@brynbellomy that would be great. thanks.

hoodwink73 avatar Jul 07 '14 08:07 hoodwink73

@brynbellomy good to know! Looking forward to review the code =)

bordaigorl avatar Jul 07 '14 08:07 bordaigorl