Commit graph

6 commits

Author SHA1 Message Date
Jacob Williams
61766f9fe1 add cite reference command 2025-02-05 11:52:15 -08:00
Jacob Williams
7eb3d47612 Remove fuzzy matching
I didn't realize fuzzysort requires (almost?) the whole search string to be present in the string being matched against. That means it wasn't adding a lot of value in this particular use case. Anyway, I should have started simpler. Matching on title, with some simple normalization rules, is probably good enough most of the time; in the future I could add a way for the user to provide an explicit mapping of Kindle titles to citation IDs in the front matter.
2025-02-05 09:17:48 -08:00
Jacob Williams
4871fc2c44 fuzzy matching of references 2025-02-04 09:59:48 -08:00
Jacob Williams
4e399ad168 double quote replacement 2025-02-03 11:32:49 -08:00
Jacob Williams
833f806733 tests 2025-02-03 11:18:04 -08:00
Jacob Williams
390b651f26 add some mostly-autogenerated code for parsing kindle quotes 2025-02-03 10:55:09 -08:00