Skip to content
Emanuele D'Osualdo edited this page Mar 2, 2014 · 8 revisions

The Evernote plugin supports two-way Markdown editing of notes. Two-way here means that not only can you write your notes in Markdown and have them converted to rich-text notes when saving them to Evernote, but you also can open a note and have it converted back to editable Markdown, from the rich-text version stored on Evernote.

When opening, from Sublime Text, a note stored on Evernote, two of the following can happen:

  1. if the note was created/last updated with the plugin then the Markdown code will be derived from an hidden element of the note and will match exactly the code you wrote to generate the note's content;
  2. if the note was created/last updated by another client, the Markdown will be recreated from the rich-text internal representation used by Evernote. This is not 100% accurate, as, for instance, there is no way one can infer whether an emphasized element was created using *...* or _..._ so one of the two is picked arbitrarily. Other ambiguities are treated similarly, by either choosing a canonical Markdown representation or by inserting raw HTML.

Supported Markdown extensions

Basic Markdown is fully supported.

Fenced code blocks

Fenced code blocks GitHub style are supported. If a language is specified, pygments is used to highlight the code.

Checkboxes

GitHub checklist is supported:

 - [ ] Unchecked
 - [x] Checked

rendered using Evernote's built-in checkboxes.

Footnotes

The code [^ref] puts a note marker in the text (rendered with a <sup> element), [^ref]: note text specifies the contents. The footnotes are rendered in a <div> element with title="footnotes" and the footnotes style applied to it.

Raw HTML

Take extra care in not using prohibited elements (see here). Evernote will complain if you use unsupported elements (such as <style>) or unsupported attributes (such as class or id).

Clone this wiki locally