{{title|replace(""","")|replace(""","")|replace("'","")|replace("'","")|truncate(127)}} by {{author|truncate(120)}}
I do this so that weird characters or overly-long file names don't break dropbox or git, since Readwise doesn't natively sanitize things.
- Author: {% if author %}[[{{author}}]]{% endif %}
- Imported: [[{{date}}]] from {{source}}
- Real Title: {{full_title}}
{% if document_tags -%}
- Document Tags: {% for tag in document_tags %} #{{tag}} {% endfor %}
{% endif -%}
{% if url -%}
- Link: {{url}}
{% endif -%}
{% if is_new_page %}
## Highlights
{% elif has_new_highlights -%}
## New highlights added {{date|date('F j, Y')}} at {{time}}
{% endif -%}
### {% if highlight_location != "View Highlight" and highlight_location != "View Tweet" %}{{highlight_location}}{% else %}id{{highlight_id}}{% endif %}
> {{ highlight_text }}
{% if highlight_note %}
- [n] {{ highlight_note }}
{% endif %}
{% if highlight_location and highlight_location_url %} * [{{highlight_location}}]({{highlight_location_url}}){% elif highlight_location %} ({{highlight_location}}){% endif %}
date: {{date}}
cssclass: admonitions
tags: pkm/process