/nnex2md

Convert nnex files exported from NixNote to Markdown files

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

nnex2md

This script converts .nnex files (exported from NixNote, formerly Nevernote) to Markdown.

Note that this has only been tested on Linux. It should work on Mac, but it may not work on Windows without an update to remove filename characters that are valid on Linux but not Windows.

Usage

node index.js [mynotes.nnex]

Behavior

Files are written to the directory you run the script from. It creates one subdirectory per notebook. Each notebook directory has an 'assets' directory where file resources are saved. Files with no name are named after their hash.

Like this:

Notebook
|-- assets
|   `-- image.jpg
`-- note.md