Skip to content

Each highlight is inserted as a single block #33

@wxxb789

Description

@wxxb789

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions