Zet - How do I create a markdown TOC checklist from a ebook from calibre?
How do I create a markdown TOC checklist from a ebook from calibre?
First copy the TOC from the calibre reader using the right click menu.
Paste into vim and use the follow sed replace
%s/^\(\s*\)\(.*\)$/\1- [ ] \2/
#calibre #ebook