Annotation export to markdown fails to include chapter titles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Annotation Browser is used to export user highlights and annotations into the markdown format generating .md file.
The browser correctly exports a) highlights, b) notes and c) links to the exported annotations
but fails to include the top level chapters titles in the export.
The chapter title inclusion in the annotation export was implemented since v.5.15 under the "When exporting highlights as text or markdown also output top level chapter titles"
see https:/
I have tested random epubs in versions 6.27.0, and 6.28.1 and in all cases the annotation exports did not contain the chapter titles.
Also, all anotations were made in Calibre viewer recently (i.e. after and not before the feature was first implemented)
The test epub book file(s) attached.
To replicate:
1. Open an epub in the calibre viewer (better use one attached)
2. Highlight text / make annotations
3. Open the Annotation Browser
4. Select annotations to export (notes and highlights)
5. Click on "Export all selected" button
6. Select "Markdown" option a from the dialog box
7. Save as file
This generates the .md file that doesnt contains chapter titles but does contain:
a. Name of the book (title)
b. Highlights and notes
c. Link with a date/time stamp referencing the location of the specific annotation in the viewer.
Update: I just discovered that if one exports the annotations from the Calibre Viewer and not the Annotation Browser then the titles are exported fine. So the issue only happens when one uses the Annotation Browser.