Quote:
Originally Posted by justanotheruser.
While you are here, is there any chance you could point me in the direction to inherit the chapter number for the highlights/annotations that are coming through please? Similar to when exporting in .md through annotations
|
Use
toc_family_titles from the annotation's json object.
Instead of make_book_format_dict, you would add this one to make_highlight_format_dict.
Code:
highlight_format = {
...
chapter_title: str(annot["toc_family_titles"])
}