omnivore-app / obsidian-omnivore

Obsidian plugin to fetch articles and highlights from Omnivore
MIT License
812 stars 48 forks source link

[FR] Seperately store Highlights and Articles #104

Closed jun6lee closed 1 year ago

jun6lee commented 1 year ago

I'd like to do both.

  1. Sources/Articles/Omnivore -- where the full articles would go -- with potentially some template tweaks

AND

  1. Sources/Highlights/Omnivore -- where the highlights would go -- with the template I've tweaked to my needs

Sharing here for benefit of anyone who may find it useful:

## {{& title}}
---
{{description}}
[Original URL]({{{originalUrl}}}) | [Read on Omnivore]({{{omnivoreUrl}}})

### Highlights
---
{{#highlights.length}}
{{#highlights}}
> [!quote]+ Updated on {{{dateHighlighted}}}
 {{{text}}} [⤴️]({{{highlightUrl}}}){{#labels}} #{{name}} {{/labels}} ^{{{highlightID}}}

{{#note}}
> [!abstract]+ Highlight Note:
{{{note}}}
{{/note}}
{{/highlights}}
{{/highlights.length}}

### Overall Note
---
> [!danger]+ {{note}}

## Metadata
---
{{#labels.length}}
tags:: {{#labels}} #{{{name}}} {{/labels}}{{/labels.length}}