readwiseio / logseq-readwise-official-plugin

GNU General Public License v3.0
56 stars 3 forks source link

Each highlight is inserted as a single block #33

Open wxxb789 opened 1 year ago

wxxb789 commented 1 year ago

Insert each highlight is a good design. The document also indicated it. image

But currently the plugin inserts every line in template as a single block. Here is my logseq preferences for hightlight.

📌
#+BEGIN_QUOTE
{{ highlight_text }}{% if highlight_location and highlight_location_url %} ([{{highlight_location}}]({{highlight_location_url}})){% elif highlight_location %} ({{highlight_location}}){% endif %}
#+END_QUOTE
    {% if highlight_tags %}
    **Tags**: {% for tag in highlight_tags %}[[{{tag}}]], {% endfor %}
    {% endif %}
    {% if highlight_note %}
    **Note**: {{ highlight_note }}
    {% endif %}

what I got: image

what I expected: image

I'm using org-mode in logseq. I guess markdown has the same issue.

If the plugin could add each highlight as single block, it would avoid many escape issues.