Merge pull request #4488 from omnivore-app/jacksonh/export-notes
Export highlights of type note if they have content attached
This commit is contained in:
@ -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 ''
|
||||
|
||||
Reference in New Issue
Block a user