Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 558 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 558 Bytes

Convert Kindle Clippings

This is a simple script in Elixir lang that converts your highlights from My Clippings.txt file to markdown files per book

Input is My Clippings.txt file from Kindle e-ink reader device. Bookmarks and notes are ignored.

Output is markdown file with highlights per book in given directory.

Usage

elixir convert_kindle_clippings.exs My\ Clippings.txt export_dir/

Test

No mix project here, only exs file. To run tests:

elixir -r convert_kindle_clippings.exs convert_kindle_clippings_test.exs