Skip to content

Colour the whole highlight ​

Template:

jinja
{% if isdailynote  %}
## Daily note
{{ highlights | style_dailynote }}
{% else %}
## Highlights
{% for item in highlights %}
{{ item | style1({prefix:"- ", anno:"\t - ", colorline:true }) }}
{% endfor %}
{% endif %}

Colour block before the highlight ​

Template:

jinja
{% if isdailynote  %}
## Daily note
{{ highlights | style_dailynote }}
{% else %}
## Highlights
{% for item in highlights %}
{{ item | style1({prefix:"- ", anno:"\t - ", color:"█  " }) }}
{% endfor %}
{% endif %}