sublime-evernote
sublime-evernote copied to clipboard
Support to generate readonly notes
Hi, Currently SublimeEvernote will create an editable evernote note.After editing on the evernote app,SublimeEvernote can not reconstruct the raw markdown format of the note.Losing the format is boring. And evernote supports to create readonly notes,I think it will be very useful to add a config to control if to create read only notes.Meanwhile the notes can only be edited by SublimeEvernote which will ensure that the raw format will not be damaged. The description of creating readonly notes:https://dev.evernote.com/doc/articles/read_only_notes.php Many Thanks.
@synckey This is a great idea! Added to the roadmap. Planned implementation:
- a new setting
set_content_class(or other names likecreate_read_onlyorprotect_created_notes) - corresponding parameter in commands (?)
- maybe a command to set/unset the
contentClasswhen it's the plugin's one.
The string saved in the contentClass could be sublime.evernote.VERSION
maybe in metadata as a field ?
I have opened a pull request(https://github.com/bordaigorl/sublime-evernote/pull/206) to support for readonly notes, it is realized by adding a new metadata named readonly.
When its value is True, the note would be readonly, or it would be editable. It is flexible to use.