Skip to content

Markdown Export Doesnt Newline Book Title #14529

Description

@meixiexun

Device

Kobo

KOReader version

2025.08

Model and firmware version

Kobo Clara BW

Issue description

Using Export Highlights and exporting to Markdown creates a file where the line that has the title of the next book is not on a separate line from the final highlight of the previous book.

See this example. This should be the final highlight of Wuthering Heights and then the beginning of The Infinite and the Divine by you can see that the title of the latter is at the end of the Heights quote.

  ### Page 168 @ 24 September 2025 03:48:47 AM
 ve no more business to marry Edgar Linton than I have to be in heaven; and if the wicked man in there had not brought Heathcliff so low, I shouldn’t have thought of it. It would degrade me to marry Heathcliff, now; so he shall never know how I love him; and that, not because he’s handsome, Nelly, but because he’s more myself than I am. Whatever our souls are made of, his and mine are the same, and Linton’s is as different as a moonbeam from lightning, or frost from fire# The Infinite and The Divine
 ##### Rath, Robert

when ideally it should look:

 ### Page 168 @ 24 September 2025 03:48:47 AM
 ve no more business to marry Edgar Linton than I have to be in heaven; and if the wicked man in there had not brought Heathcliff so low, I shouldn’t have thought of it. It would degrade me to marry Heathcliff, now; so he shall never know how I love him; and that, not because he’s handsome, Nelly, but because he’s more myself than I am. Whatever our souls are made of, his and mine are the same, and Linton’s is as different as a moonbeam from lightning, or frost from fire

# The Infinite and The Divine
 ##### Rath, Robert

This creates an issue with parsing the file.

Occurs in both emacs and kwrite, so it's not an issue with my editor parsing things weird.

Steps to reproduce

  1. Go to Export Highlights
  2. Click Choose Formats and Service
  3. Enable Markdown
  4. Export Highlights > Export All Notes in All Books in History
  5. Retrieve the .md file and open it in a text editor
  6. See error

Log

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions