Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add "Open in Readwise" link #1

Open
natterstefan opened this issue Oct 8, 2022 · 0 comments
Open

feat: add "Open in Readwise" link #1

natterstefan opened this issue Oct 8, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@natterstefan
Copy link
Owner

Feature

Inspired by TfTHacker's obsidian-readwise-inbox schema, it'd be beneficial having a link to the Readwise highlight URL and ID ready at your fingertips.

Example

- {{ highlight_text }}{% if highlight_tags %} 
    - Tagged:{% for tag in highlight_tags %} #{{tag|replace(" ","-")}}{% endfor %}{% endif %}
    - {% if highlight_location and highlight_location_url %}[{{highlight_location}}]({{highlight_location_url}}), {% elif highlight_location %} {{highlight_location}}, {% endif %}[Open in Readwise](https://readwise.io/open/{{highlight_id}}){% if highlight_note %}
    - Note: {{ highlight_note }}{% endif %}
^rw{{highlight_id}}
- A sample highlight 
    - Tagged: #sample-tag #funny
    - [Page 2](https://readwise.io/), [Open in Readwise](https://readwise.io/open/1234)
^rw1234

Ressources

@natterstefan natterstefan added enhancement New feature or request good first issue Good for newcomers labels Oct 8, 2022
@natterstefan natterstefan self-assigned this Oct 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant