mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Export highlights of type note if they have content attached
This commit is contained in:
parent
d41de25d23
commit
67d152d8cd
1 changed files with 6 additions and 0 deletions
|
|
@ -879,6 +879,12 @@ export const highlightToMarkdown = (highlight: Highlight): string => {
|
|||
return `> ${quote} ${labels ? `\n\n${labels}` : ''}${
|
||||
note ? `\n\n${note}` : ''
|
||||
}`
|
||||
} else if (
|
||||
highlight.highlightType == HighlightType.Note &&
|
||||
highlight.annotation
|
||||
) {
|
||||
const note = highlight.annotation
|
||||
return `${note}\n\n`
|
||||
}
|
||||
|
||||
return ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue