Export notes with highlights

This commit is contained in:
Jackson Harper
2023-12-27 22:22:09 +08:00
parent 4f6f452801
commit c09a6fc1de

View File

@ -113,7 +113,10 @@ struct NoteItemParams: Identifiable {
buffer += "by: \(author)\n"
}
if let url = item.pageURLString {
buffer += "url: \(url)\n"
buffer += "\(url)\n"
}
if let noteText = item.noteText {
buffer += "\n\n\(noteText)\n\n"
}
return buffer + "\n\n" + highlightItems.map { highlightAsMarkdown(item: $0) }.lazy.joined(separator: "\n\n")
}