Command line utility to convert your Kindle highlights from html to markdown.
pip install kindlenotes2md
From the Kindle app, you have the option to export the highlights that you've made in the book. The easiest way to get access to these are to email them to yourself. These exported highlights are in html format, so are a bit tricky to use in other tools.
Run this tool with the
.html file as a command line argument.
Here's the documentation for the tool you get by running
Usage: kindlenotes2md [OPTIONS] INPUTFILENAME Options: -o, --outfilename TEXT --help Show this message and exit.
You have the option to specify a filename with
This will write the markdown output to file, rather than stdout.