Skip to content

Instantly share code, notes, and snippets.

@ransurf
Created November 29, 2022 08:59
Show Gist options
  • Save ransurf/1f3f0f974eac125c213c13e87310b696 to your computer and use it in GitHub Desktop.
Save ransurf/1f3f0f974eac125c213c13e87310b696 to your computer and use it in GitHub Desktop.
Readwise to Obsidian Export Settings
---------------------------- FILE NAME ----------------------------

📥 {{title}}

---------------------------- PAGE METADATA ----------------------------

Status:: #📥/🟨
Tags:: #readwise #i/{{category}}
Links::
___
# 📥 {{ title }}
{% if image_url -%}

{% endif -%}
author:: {% if author %}{{author}}{% endif %}
started:: <%tp.date.now("YYYY-MM-DD")%>
finished:: 
rating:: 
source:: {{url}}

---------------------------- HIGHLIGHTS HEADER ----------------------------

{% if is_new_page %}
## Notes
### Highlights
{% elif has_new_highlights -%}
### New highlights added {{date|date('F j, Y')}} at {{time}}
{% endif -%}

---------------------------- HIGHLIGHT ----------------------------

> {{ highlight_text }}{% if highlight_location and highlight_location_url %} ([{{highlight_location}}]({{highlight_location_url}})){% elif highlight_location %} ({{highlight_location}}){% endif %}{% if highlight_tags %}
- Tags: {% for tag in highlight_tags %}[[{{tag}}]] {% endfor %}{% endif %}{% if highlight_note %}
- Note: {{ highlight_note }}{% endif %}

---------------------------- YAML FRONT MATTER ----------------------------

Created: {{date}}

---------------------------- FIN ----------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment