bordaigorl / sublime-evernote Goto Github PK
View Code? Open in Web Editor NEWThis project forked from timlockridge/sublimeevernote
Open and Save Evernote notes from Sublime Text 3 using Markdown
License: Other
This project forked from timlockridge/sublimeevernote
Open and Save Evernote notes from Sublime Text 3 using Markdown
License: Other
Just leaving a reminder here in case you have forgotten about the features in the links-to-notes branch 😄
I found the Marxico's method to manage notebook and tags is easy to use. Is there any possibility to add that method?
The detail of that method is:
Title
(without the #
symbol)@(Note)
this is interpreted to the notebook. When I input @(
there would be a autocomplete of the notebook[tags1|tags2]
this string is interpreted as the tag(two tags)Maybe you would like change the open_url method in line:675 in sublime_evernote.py
- self.view.window().run_command("open_url", {"url": url % self.view.settings().get("$evernote_guid")})
+ webbrowser.open_new_tab(url % self.view.settings().get("$evernote_guid"))
I am new to this plugin. It seems the typewriter scroll is enabled, and the cursor is kept at the center of the viewport all the time. Is there a way to disable it?
for example:
backtick
: this should have background-color in github style. but when export to evernote ,no background at all.
After generating a developer API key, it is not added to the package settings as the readme suggests. I can't see the syntax for the key documented anywhere to add it in myself?
I'm currently saving notes as with a .md extension in sublime text, then manually adding meta data, then sending to evernote. Prior to "sending to evernote" the file type is listed as markdown. After sending to evernote, the file type is "Evernote Note".
In my Evernote.sublime-settings file I set the following option:
"update_on_save": "true"
When I close the note and reopen it, it opens as a markdown file, not an "Evernote Note".
If I update the file, the changes are not automatically synchronized. If I reissue "send to evernote" they are, but again I have to do this every time.
I assume this is because I'm using the standard .md extension (which sublime automatically detects as a "Markdown" filetype, rather than an "Evernote Note." My guess is that there is an evernote note filetype specific file extension that I could use, but I am unsure what it is - I looked through the source, but was unsure where to look for this bindings and did not find it.
I have an Evernote business subscription, only my personal notebooks show up in ST3
See timlockridge#4.
It would be nice if we could decouple and optionally couple again the action of saving to file and of updating the note.
The key binding is currently inhibiting the binding for save, although the note can be still saved using the menus/pallette.
The EventListener
of timlockridge#4 is not allowing one to choose to save to file only without updating, so it needs at least an option to disable.
Please consider adding support for strikethrough, GFM-style. Like this.
Currently, text that has been striked through in an Evernote client shows up like this:
<strike>Striked out text</strike>
It'd be great if there were a way to specify an alternative to the built-in *
character used when rendering UL elements as Markdown. I have a fix for this, so this is more just a note to myself to create a pull request.
I want make shortcut for evernote and .txt .md file
this is my key binding, it just work in .txt .md file, don't work in evernote
{ "keys": ["alt+/"],
"command": "insert_snippet",
"args": {"contents": "-| "},
"context": [
{"key": "evernote_note", "operator": "equal", "operand": false},
{"key": "selector", "operator": "equal", "operand": "text.plain, text.html.markdown"},
]
},
when I change {"key": "evernote_note", "operator": "equal", "operand": false}
, to {"key": "evernote_note"}
it just work in evernote not other file
This is a great plugin for sublime text!
A gift from heaven!
I really appreciate your effort!
This plugin will be much pleasant if it support more inline_css elemetns!
Below is what I need to support:
{"inline_css": {
"del":"position:relative;display:block",
"a" : "position: absolute;color: #FFF;text-decoration: none;font-size: 12px;height: 25px;border-radius: 0;margin-top: -30px;right: 15px;background: rgba(0, 0, 0, 0);border-left: 10px solid #BB3A34;border-right: 10px solid #BB3A34;border-bottom: 5px solid rgba(0, 0, 0, 0);width: 0;",
"div": "line-height: 1.6; font-family: Helvetica Neue, Arial, Hiragino Sans GB, STHeiti, Microsoft YaHei, WenQuanYi Micro Hei, SimSun, Song, sans-serif;",
"h1" : "font-size: 36px; margin: 0.67em 0; font-family: inherit; font-weight: bold; line-height: 1.1; color: inherit; margin-top: 0px; margin-bottom: 20px;",
"h3" : "font-family: inherit; font-weight: bold; line-height: 1.1; color: inherit; margin-top: 30px; margin-bottom: 20px; font-size: 24px;",
"h4" : "font-family: inherit; font-weight: bold; line-height: 1.1; color: inherit; margin-top: 25px; margin-bottom: 15px; font-size: 18px;",
"p" : "margin: 0 0 10px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word;",
"strong" : "font-weight: bold;",
"ul" : "margin-top: 0; margin-bottom: 0; line-height: 1.6;",
"ol" : "margin-top: 0; margin-bottom: 10px; line-height: 1.6;",
"li" : "line-height: 1.6;",
"blockquote": "padding: 15px 20px; margin: 0 0 15px 0; font-size: 14px; border-left: 5px solid #ddd; background-color: rgba(102, 128, 153, 0.05);",
"hr": "-moz-box-sizing: content-box; box-sizing: content-box; height: 0; line-height: 1.6; margin-top: 20px; margin-bottom: 20px; border: 0; border-top: 1px solid rgba(102, 128, 153, 0.15);",
"a": "background: transparent;",
"code": "font-family: Menlo, Monaco, Consolas, Courier New, monospace; font-size: 90%; padding: 2px 4px; color: #c7254e; background-color: #f9f2f4; white-space: nowrap; border-radius: 4px;",
"pre" : "overflow: initial; font-family: Menlo, Monaco, Consolas, Courier New, monospace; font-size: 14px; display: block; padding: 0; margin: 0 0 10px; line-height: 1.6; word-break: break-all; word-wrap: break-word; color: #333333; background-color: #f5f5f5; border: none; border-radius: 0; white-space: pre-wrap;",
"span": "color: #a6e22e;",
"table": "border-collapse: collapse; border-spacing: 0; margin-bottom: 20px;",
"th": "text-align: left; padding: 8px; line-height: 20px; vertical-align: top; border: 1px solid #DDD;"
}}
The error messages derived from validation of contents should be more informative:
EDAMUserException(errorCode=11, parameter='Attribute "class" must be declared for element type "div".')
EDAMUserException(errorCode=11, parameter='Element type "style" must be declared.')
Both should prompt the user with something like "Evernote does not support 'bla'. Remove the item and retry"
I'm writing an article about something that involves regex, here's a line from it:
"file_regex": "(.*?)[(]([0-9]*)[)]",
(yes, silly regex is silly, ignore that!)
When I hit ctrl+s, I see this:
I also got a similar error when encasing something in angle brackets, presumably something relating to XML/HTML in evernote. I simply replaced these with </> escape codes (which is rather awkward as I usually forget these codes).
I'm not sure how to fix the first complaint as I don't really know what in that regex is causing the error, or even how to escape it correctly.
I cannot create table . - -!
I wrote a note on my mobile phone using german umlaute (äöü). When I open the note in SublimeEvernote the umlaute are dropped to their normal version (aou).
I am very sure I have configure the authorization well for I can read note from Sublime.
But when I select Send to evernote as new note
but I can not get the note in evernote. And if I choose Clip to evernote as new note
I can get the pure text(not Evernote) in it.
Is there anyone has the same problem?
The html2text
library seems to bail on nested lists, adding an extra list item character (*
) and extra spaces at the beginning of the first LI
element of any nested list.
See https://github.com/trentm/python-markdown2/releases/tag/2.3.0
Major changes:
This is a feature request.
Currently the opened notes has the meta info of title
, tags
and notebook
.
I'm wondering if it could add more info.
Such as created_at
and updated_at
, it may read-only fields, but at least it's useful if we can read when they are created.
It's even better if it could be customized in settings.
Thank you.
It can correctly convert the star emphasis (word surrounded by *) syntax into italics, but not the underline syntax (word surrounded by _). Same for the bold syntax. Could you look into that? Thanks!
One may want to open all the notes associated with a search/notebook.
Adding an open_all
option to the open note command should not be too difficult.
It would also offer a way to solve jamiesun#25
We should decide whether to support Sublime Text 2 or not.
This requires a lot of work and expertise.
I am personally inclined to drop support for ST2 and clean the repo from ST2 related code.
If there's anybody willing to add support for ST2 I'd be glad to know.
The plugin should be fetching options for some of the extras from the settings.
code_friendly
should be optionalinline_css
should be customisable and documentedHello,
It seems to me that adding custom css doesn't affect the note font size, like
"inline_css": {
"pre": "font-size:12px",
}
The font size is fixed to 10px, as seen from Evernote client. Am I missing something?
Thank you.
when i send new note to evernote,the console shows like below:
ValueError: need more than 1 value to unpack
i can update note successfully
If you are using sublime text behind a company proxy, you basically have to set the proxy settings per module right to get this module working right now.
I had to set the company proxy for example for the plugin package control in the settings of the package control, because the sublime own proxy settings were ignored (see https://sublime.wbond.net/docs/settings#setting-http_proxy).
The possibility to set custom proxy settings for this module would be nice. For now, the plugin isn't working behind a proxy, even if the .bash_profile of the user or something similar is set up correctly.
The Readme is too long now.
Should migrate detailed info to wiki and put pointers in Readme.
Additionally, the new commands in devel need documentation.
As for aaronsw/html2text#55, html2text
currently strips the tags in a table.
This is a milder problem here since we only use the script when the note has been changed from other apps but it should be fixed.
Proposal: add a self.verbatim
flag that can be used to preserve some html at will.
Package Control does not support them!
I've just discovered this plugin, and have installed it. But it only gives me one command: "Evernote Settings", not the "Evernote: Reconfigure" or others that are mentioned in the README. When checking the ST3 directory I see in Installed Packages that SublimeEvernote.sublime-package is present. But under Packages there's no equivalent folder. I have tried removing and reinstalling, as well as disabling and re-enabling the package, all to no avail.
I'm running ST3 Build 3059 on Mac OS X 10.9.4.
I notice the background color for different code_highlighting_style is different, but I think there are something wrong with the "github" style because it does not have background color.
If I change the background_color in "code" of inline_css, it will only change the area behind the text, not the whole div/span.
So is there any way to change the background color of code block?
I'm getting this error when trying to export a .md file to Evernote. It's probably an issue in my Markdown, rather than an export issue, but is there some way to grab the EML file from this plugin so I can look at it to see where the issue is?
Hi,
It's a greate plugin, but how to insert image in the document?
I'm a chinese. Evernote use app.yinxiang.com in China, open www.evernote.com very slow in China.I have replaced all 'evernote.com' to 'yinxiang.com' in plugin, and authorized
in https://app.yinxiang.com/api/DeveloperToken.action. It don't work. How can I do.
It could be nice to support a metadata field for the note's guid so that one could maintain a local markdown version of some of his/her notes with full two-way synch facilities.
This needs a "Synch" command that downloads new versions of the note and updates the current view, plus support for user supplied guids in new notes metadata.
Developer token is not working - no error, but every time I go to send a note to Evernote, I am put through the same flow of requesting a developer token (browser loads this page)
Steps to Reproduce
I did notice that there does not seem to be the file 'SublimeEvernote.sublime-settings' in 'Sublime Text 3/Packages/User/' after these steps. I tried creating manually using the following format:
{
"noteStoreUrl": "share_note_url_from_evernote",
"oauth_token": "auth_key_from_evernote"
}
... but still no luck.
The MarkdownEditing package for Sublime Text replaces the default Markdown.tmLanguage file, and disables the built-in Markdown plugin. This causes set_syntax_file to not work, since the file Package/Markdown/Markdown.tmLanguage is not usable.
I forked the repo and changed the path to Package/MarkdownEditing/Markdown.tmLanguage, which works for me, but obviously that's not a proper solution. I'm not yet familiar enough with Sublime Text's API to propose a solution. I looked briefly to see if there was a way to retrieve a list of packages, but didn't come up with anything particular aside from just scanning the packages path for the MarkdownEditing package, and I'd prefer to avoid that.
Is this issue something you care about? If so, any ideas? If not, feel free to close this.
The open note command only allows you to search for notes only after you selected a Notebook.
It would be nice if there was a search_note
command with a prompt for a query and a panel displaying the results.
Also, the open note command should support an optional from_notebook
argument so that one could bind a shortcut to opening notes from a particular notebook.
markdown for table is not working in evernote.
like this
|Year | Temperature (low) | Temperature (high) |
| 1900 | -10 | 25 |
| 1910 | -15 | 30 |
| 1920 | -10 | 32 |
| 1920 | -10 | 32 |
| 1920 | -10 | 32 |
| 1920 | -10 | dd2 |
or this
og | bird | cat
:-- | :--: | --:
foo | foo | foo
bar | bar | bar
baz | baz | baz
is that a bug?
Hello
You have upgraded to Sublime text3 build 3065, was no longer available plug-ins.
It was a phenomenon that occurred in OSX, but similar error has occurred after the upgrade even Windows.
The following message was being displayed on the console.
Evernote plugin error: unpack requires a bytes object of length 1
error: Evernote plugin error, please contact developer at
https://github.com/bordaigorl/sublime-evernote/issues
Since this plugin is based and includes several libraries each licensed differently, we should check what is the best way of putting all these together.
Licenses of submodules:
Most plugins seem to be licensed with the MIT license which makes sense since ST itself is not open source.
Any suggestions?
Underline formatting is removed when importing/updating the note in sublime text.
Evernote then shows the following (xxx is the text that was underlined):
_Hello_
_
_
_
_
_hello_
I allways use "alt+q" open search panel , It's better if I can with text eg 'tag:'
{ "keys": ["alt+q"], "command": "open_evernote_note", "args": {"by_searching": true, "text": "tag:"} }
Before finding this plugin, my workflow was to use @facelessuser's package ExportHtml to create the highlighting for my browser, then copy/paste the page into Evernote (since web-clipping doesn't work on local files).
I love this package, but I prefer the configurability and product of ExportHtml. Is there any way to make use of the ExportHtml package or commands to create the ENML content for the notes?
When I try to run any command I am getting the following error:
Evernote plugin error: Bad version in readMessageBegin: -272908484
error: Evernote plugin error, please contact developer at
https://github.com/bordaigorl/sublime-evernote/issues
Windows 8.1 / Sublime 3065
Edit: could be a proxy issue? The plugin was working fine on my home wifi.
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-todo
s.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.