Uses Evernote's Mac client and Marked (or similar Markdown-preview app) to allow you to create Markdown-style notes and preview them.
- Evernote's Mac client
- Marked (or similar Markdown-preview app)
- Some Python and commandline knowledge
Setup Python so the script can be used. Using the awesome pip
Python package manager, install 2 packages: html2text and MacFSEvents
$ [sudo] pip install html2text MacFSEvents
(Optional) Unless you are already familiar with Python, you may not have pip
installed. Skip to the bottom for how to do this
Create the file EvernoteSelection.md
in ~/Documents or wherever you want this file to sit, just remember to reference it in the script.
It is essentially a cache file and contains only the information of your Evernote when you hit save.
Create the script file then paste the contents of evernote_selection.py into it
$ [sudo] touch evernote_selection.py
Create a file called com.user.evernote_markdown.plist in ~/Library/LaunchAgents
Create the script evernote_selection.sh that will run on boot anywhere on your computer, but remember to reference it in com.user.evernote_markdown.plist
Add the executable bit to the file with
$ [sudo] chmod +x /path/to/evernote_selection.sh`
Logout and login again
Save a note in Evernote with the content using Markdown syntax, then start Marked.app and open EvernoteSelection.md
. You should now see the Markdown preview of your note!
To install pip
the proper way, give the Python Guide a read through.
For the lazy or inexperienced, install pip
in one go:
(Note: [sudo]
is whether or not you need sudo
to run commands.)
$ [sudo] easy_install pip
Hi, I get the error message that there is no html2text modul even after running sudo pip install html2text a second time.