This repository serves as an example of how you can use this script to manually sync HTML exports of your Evernote notebook with a Jekyll site.
npm
jekyll
To use this example on your own site:
- Download the latest release into the root of your Jekyll folder and unzip it.
-
cd
into the release folder and runnpm install
.
- Export your notebook from Evernote
- Modify
config.import.path
to point to wherever you've placed the folder exported by Evernote. - Modify
config.output.posts_path
to point to wherever you'd like to store the HTML files from your Evernote posts as a Jekyll Collection. Ensure this folder exists before proceeding. - Add a collection in your
config.yml
file as described here. - Modify
config.output.media_path
to point to wherver you'd like to export the resources associated with your Evernote posts. Ensure this folder exists before proceeding. - Ensure you've set a
evernote_media_export_path
in yourconfig.yml
to point to the same folder asconfig.output.media_path
- Run
node index.js
. This should successfully copy over all of your posts and resources, but watch the terminal for any errors in output. - In theory, your posts should now be available anywhere in your site in the variable
site.evernotes
(or however you configured it inconfig.yml
). Refer to theindex.html
file in this repository for an example of how to access and style posts.