mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Export notes with highlights
This commit is contained in:
parent
4f6f452801
commit
c09a6fc1de
1 changed files with 4 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue