Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save FeralFlora/78f494c1862ce4457cef28d9d9ba5a01 to your computer and use it in GitHub Desktop.
Save FeralFlora/78f494c1862ce4457cef28d9d9ba5a01 to your computer and use it in GitHub Desktop.
Zotero import template for the Zotero integration plugin for Obsidian. Screenshots and usage guide over in the Obsidian forum here: https://forum.obsidian.md/t/zotero-integration-import-templates/36310/105?u=feralflora
  • ZI-main.md
    • The main Zotero Integration template
  • runImport.md
    • Template that enables updating literature notes at the click of a button, and much more.
  • Meta bind button template
    • Template for in-note button that executes runImport.md

The Buttons plugin is likely to be deprecated, and the maintainer (@shabegom) is urging users to migrated to Meta Bind and it's implementation of buttons. See mProjectsCode/obsidian-meta-bind-plugin#199. Therefore, I've switched out the old "Buttons" button to a Meta bind button that does the same thing.

Here's how to make it functional:

If you had set up the old "Buttons" button, you can skip steps 2, 3 & 4.

  1. If you haven't, install Meta Bind and Templater.
  2. Make sure you have the "runImport" Templater template in your vault (also found under this gist).
  3. In the runImport.md template, replace 'IMPORT_NAME' with the name you've given the Import format you want Zotero Integration to run, when importing your literature notes.

Warning

You need the name of the Import Format in Zotero Integration's settings, NOT the file name of your literature note template. See the example below.

For example, below here, the import name is "APA Literature Note", and that's what you should use.

image

  1. Associate the runImport template with a hotkey / command in Templater's settings under "Template hotkeys".
  2. Copy everything inside the "button" code block below (without the code block itself).
  3. Paste the code into an editor, and replace the path on the last line with the path to runImport inside your vault.
  4. Copy your newly edited button template, with the path corrected.
  5. Open Meta bind's settings.
  6. Find "Button templates" and press "Edit templates".
  7. At the bottom of the popup, press the button that says "Add Template from Clipboard".
  8. Then, remember to press save before you exit the "Edit templates" menu.

Button template

label: Update literature note
hidden: false
tooltip: "This will fetch new annotations from Zotero"
id: update-litnote
style: primary
actions:
  - type: command
    command: templater-obsidian:07 - Bins/Templates/Zotero Integration/runImport.md

Remember to replace path in the last line. The path starts at "07".

<%* // Get citekey from 'citekey' property, or alias starting with '@' or file name const citekey = tp.frontmatter?.citekey || tp.frontmatter.aliases?.find(alias => alias.startsWith('@')) || tp.file.title; // Get the library ID from the properties. Fall back to "My Library" (1), if the library ID is not accessible const libraryID = tp.frontmatter.libraryID || 1; // Run the import app.plugins.getPlugin('obsidian-zotero-desktop-connector').runImport('IMPORT NAME', citekey, libraryID); ; %>

{# version: 3.6 -#}

citekey: {{citekey}} aliases:

  • "{%- if creators -%} {{creators[0].lastName or creators[0].name }} {%- if creators|length == 2 %} & {{creators[1].lastName or creators[1].name}}{% endif -%} {%- if creators|length > 2 %} et al.{% endif -%} {%- endif -%} {%- if date %} ({{date | format("YYYY")}}){% endif -%} {%- if shortTitle %} {{shortTitle | safe}} {%- else %} {{title | safe}} {%- endif -%}"{% if itemType == "bookSection" %} book-title: "{{bookTitle | replace('"',"'")}}"{% endif %} title: "{{title | replace('"',"'")}}" {%- set camelRegex = r/([a-z])([A-Z])/g %} {%- for type, creators in creators | groupby("creatorType") %} {% if creators.length > 1 %}{{type | replace(camelRegex, "$1 $2") | lower | trim}}s:{%- for creator in creators %}{% if creator.name %}
  • {{creator.name}}{% else%}
  • {{creator.firstName}} {{creator.lastName}} {% endif %}{%- endfor %} {% else -%} {{type | replace(camelRegex, "$1-$2") | lower | trim}}:{%- for creator in creators %}{% if creator.name %} "{{creator.name}}"{% else%} "{{creator.firstName}} {{creator.lastName}}"{% endif -%}{%- endfor -%}{% endif -%}{% endfor %} year: {% if date %}{{date | format("YYYY")}}{% endif %} item-type: {{itemType | replace(camelRegex, "$1 $2") | title | trim}} publisher: {% if publicationTitle %}"{{publicationTitle}}"{% else %}"{{publisher}}"{% endif %} {%- if notes.length > 0 -%} {%- set longShortCutoff = 20 -%} {%- set shortnotes = [] -%} {%- set longnotes = [] -%} {%- for note in notes -%} {%- if note.note | wordcount <= longShortCutoff -%} {%- set shortnotes = (shortnotes.push(note.note), shortnotes) -%} {%- else -%} {%- set longnotes = (longnotes.push(note), longnotes) -%} {%- endif -%}{%- endfor -%}{%- endif -%} {%- for comment in shortnotes %} {%- if comment and loop.first %} comments: {% endif -%}
  • "{{comment|replace('"',"'")| replace("\n"," ")}}"{% endfor %} tags:{% for t in tags %}
  • {{t.tag | replace(r/\s+/g, "-")}}{% endfor %}{% if DOI %} doi: https://doi.org/{{DOI}}{% endif %}{% if itemType == "book" %} ISBN: {{ISBN}}{% endif %} cssclasses:
  • literature-note{% if attachments.length > 0 %}{% for attachment in attachments %}{% if loop.first %} attachments:{% endif %}
  • {{attachment.path}}{% endfor %}{% endif %} libraryID: {{libraryID}}

BUTTON[update-litnote]

{% persist "notes" -%} {%- if isFirstImport %}

{# ==The following sections (Key takeaways and Processing) are not filled automatically. They are for for you to write into manually.== -#}

Key takeaways

{#- The following is a cursor placeholder for the Templater plugin. After importing the note, you can jump to each of these with an assigned hotkey like ctrl+J #}

  • <% tp.file.cursor(1) %>

Processing

  • Status:: new
  • Connections:: <% tp.file.cursor(4) %>
  • Projects::

{% endif %}{% endpersist %}

[!info]- Info πŸ”— Zotero{% if DOI %} | DOI{% endif %}{% for attachment in attachments | filterby("path", "endswith", ".pdf") %} | [PDF-{{loop.index}}](file:///{{attachment.path | replace(" ", "%20")}}){%- endfor %}

{% if bibliography %}Bibliography: {{bibliography|replace("\n","" )}}{% endif %}

Authors:: {% for a in creators %} [[03 - Source notes/People/{{a.firstName}} {{a.lastName}}|{{a.firstName}} {{a.lastName}}]]{% if not loop.last %}, {% endif %}{% endfor %}

{% if tags %}Tags: {% for t in tags %}#{{t.tag | replace(r/\s+/g, "-")}}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

Collections:: {% for collection in collections %}[[{{collection.name}}]]{% if not loop.last %}, {% endif %}{% endfor -%} {%- set readingSpeed = 220 %} {%- set wordsPerPage = 360 %} {%- if pages %} {%- set pageRegex = r/(\d+)-(\d+)/ %} {%- set splitPages = pageRegex.test(pages) %} {%- if splitPages %} {%- set pageMatch = pageRegex.exec(pages) %} {%- set firstPage = pageMatch[1] %} {%- set pageCount = pageMatch[2] - pageMatch[1] %} {%- else %} {%- set pageCount = pages %} {%- endif %} {%- elif numPages %} {%- set pageCount = numPages %} {%- else %} {%- set pageCount = 0 %} {% endif -%} {%- if firstPage %}

First-page:: {{firstPage}} {%- endif -%} {%- if pageCount > 0 -%} {%- set readingTime = ((pageCount* wordsPerPage)/readingSpeed)/60 %}

Page-count:: {{pageCount}}

Reading-time:: {% if readingTime < 1 %}{{(readingTime * 60) | round + " minutes"}}{% else %}{{readingTime | round(3) + " hours"}}{% endif %}{% endif %}

[!abstract]- {% if abstractNote %} {{abstractNote|replace("\n","\n>")|striptags(true)|replace("Objectives", "Objectives")|replace("Background", "Background")|replace("Methodology", "Methodology")|replace("Results","Results")|replace("Conclusion","Conclusion")}} {% endif %}

[!quote]- Citations

content: "@{{citekey}}" -file:@{{citekey}}

{%- set headingRegex = r/^#+/ -%} {%- set titleRegex = r/^#+./ -%} {%- set lineRegex = r/^.$/m %} {%- if longnotes.length > 0 -%} {%- for n in longnotes -%} {%- if n and loop.first %}

[!note]- Zotero notes ({{longnotes.length}})

Notes longer than {{longShortCutoff}} words. {%- endif %}

[!example]- Note {{loop.index}} |{%- if headingRegex.test(n.note) == true %}{{n.note | replace(n.note,titleRegex.exec(n.note))|replace(headingRegex,"")}}{% else %} {{lineRegex.exec(n.note | truncate(30))}} {% endif %} {{n.note | replace("\n", "\n>> ")| replace(titleRegex, "")}}{% if n.tags.length > 0 %}

Tags:{% for t in n.tags %} #{{t.tag}}{% if not loop.last %}, {% endif %}{% endfor %}{% endif -%}{%- if not loop.last %} {%- endif -%} {%- endfor -%}{%- endif %}


Reading notes

{% set colorValueMap = { "#2ea8e5": { "colorCategory": "Blue", "heading": "❓ Problem formulation", "symbol": "@" }, "#5fb236": { "colorCategory": "Green", "heading": "🎯 Key takeaways", "symbol": "$" }, "#ffd400": { "colorCategory": "Yellow", "heading": "πŸ’¬ Evidence and arguments", "symbol": "&" }, "#f19837": { "colorCategory": "Orange", "heading": "βœ… Actionable takeaways", "symbol": "?" }, "#a28ae5": { "colorCategory": "Purple", "heading": "🧩 Concepts and frameworks", "symbol": "~" }, "#e56eee": { "colorCategory": "Magenta", "heading": "πŸ—ΊοΈ Context and connections", "symbol": "€" }, "#ff6666": { "colorCategory": "Red", "heading": "🚧 Digging and disclaimers", "symbol": "!" }, "#aaaaaa": { "colorCategory": "Gray", "heading": "πŸ“Œ Statistics and info", "symbol": "%" } } -%}

{%- macro tagFormatter(annotation) -%} {% if annotation.tags -%} {%- for t in annotation.tags %} #{{ t.tag | replace(r/\s+/g, "-") }}{% if not loop.last %}, {% endif %}{%- endfor %} {%- endif %} {%- endmacro -%}

{% persist "annotations" %} {% set annotations = annotations | filterby("date", "dateafter", lastImportDate) -%} {% if annotations.length > 0 %} Imported on [[{{importDate | format("YYYY-MM-DD")}}]] at {{importDate | format("HH:mm")}}

{%- set grouped_annotations = annotations | groupby("color") -%} {%- for color, colorValue in colorValueMap -%} {%- if color in grouped_annotations -%} {%- set annotations = grouped_annotations[color] -%} {%- for annotation in annotations -%} {%- set citationLink = '[(p. ' ~ annotation.pageLabel ~ ')](' ~ annotation.desktopURI ~ ')' %} {%- set tagString = tagFormatter(annotation) %}

{%- if annotation and loop.first %}

{{colorValue.heading}} %% fold %%

{% endif -%}

{%- if annotation.imageRelativePath %}

[!cite]+ Image {{citationLink}} ![[{{annotation.imageRelativePath}}]]{% if annotation.tags %} {{tagString}}{% endif %}{%- if (annotation.comment or []).indexOf("todo ") !== -1 %}

  • {{annotation.comment | replace("todo ", "")}}{%- elif annotation.comment %} {{annotation.comment}}{%- endif %} {% elif (annotation.comment or []).indexOf("todo ") !== -1 %}
  • {{annotation.comment | replace("todo ", "")}}:{% if not annotation.annotatedText %} {{citationLink}}{% else %}
    • {{colorValue.symbol}} {{annotation.annotatedText | replace(r/\s+/g, " ")}} {{citationLink}}{{tagString}}{% endif -%} {% elif annotation.comment %}
  • {{annotation.comment}}:{% if not annotation.annotatedText %} {{citationLink}}{% else %}
    • {{colorValue.symbol}} {{annotation.annotatedText | replace(r/\s+/g, " ") }} {{citationLink}}{{tagString}}{% endif -%} {%- elif annotation.annotatedText %}
  • {{colorValue.symbol}} {{annotation.annotatedText | replace(r/\s+/g, " ") }} {{citationLink}}{{tagString}} {%- endif -%}{%- endfor %}{%- endif -%} {% endfor -%} {% endif %}

{% endpersist %}

@Bulgy404
Copy link

Hey, has anybody an idea why not all of my colors are, well colored?
Here is how it looks when rendered:

CleanShot 2025-08-12 at 15 30 22@2x

Here is the raw source code of the template:

citekey: {{citekey}}
aliases:

  • "{%- if creators -%}
    {{creators[0].lastName or creators[0].name }}
    {%- if creators|length == 2 %} & {{creators[1].lastName or creators[1].name}}{% endif -%}
    {%- if creators|length > 2 %} et al.{% endif -%}
    {%- endif -%}
    {%- if date %} ({{date | format("YYYY")}}){% endif -%}
    {%- if shortTitle %} {{shortTitle | safe}} {%- else %} {{title | safe}} {%- endif -%}"{% if itemType == "bookSection" %}
    book-title: "{{bookTitle | replace('"',"'")}}"{% endif %}
    title: "{{title | replace('"',"'")}}"
    {%- set camelRegex = r/([a-z])([A-Z])/g %}
    {%- for type, creators in creators | groupby("creatorType") %}
    {% if creators.length > 1 %}{{type | replace(camelRegex, "$1 $2") | lower | trim}}s:{%- for creator in creators %}{% if creator.name %}
  • {{creator.name}}{% else%}
  • {{creator.firstName}} {{creator.lastName}} {% endif %}{%- endfor %} {% else -%}
    {{type | replace(camelRegex, "$1-$2") | lower | trim}}:{%- for creator in creators %}{% if creator.name %} "{{creator.name}}"{% else%} "{{creator.firstName}} {{creator.lastName}}"{% endif -%}{%- endfor -%}{% endif -%}{% endfor %}
    year: {% if date %}{{date | format("YYYY")}}{% endif %}
    item-type: {{itemType | replace(camelRegex, "$1 $2") | title | trim}}
    publisher: {% if publicationTitle %}"{{publicationTitle}}"{% else %}"{{publisher}}"{% endif %}
    {%- if notes.length > 0 -%}
    {%- set longShortCutoff = 20 -%}
    {%- set shortnotes = [] -%}
    {%- set longnotes = [] -%}
    {%- for note in notes -%}
    {%- if note.note | wordcount <= longShortCutoff -%}
    {%- set shortnotes = (shortnotes.push(note.note), shortnotes) -%}
    {%- else -%}
    {%- set longnotes = (longnotes.push(note), longnotes) -%}
    {%- endif -%}{%- endfor -%}{%- endif -%}
    {%- for comment in shortnotes %}
    {%- if comment and loop.first %}
    comments:
    {% endif -%}
  • "{{comment|replace('"',"'")| replace("\n"," ")}}"{% endfor %}
    tags:{% for t in tags %}
  • {{t.tag | replace(r/\s+/g, "-")}}{% endfor %}{% if DOI %}
    doi: https://doi.org/{{DOI}}{% endif %}{% if itemType == "book" %}
    ISBN: {{ISBN}}{% endif %}
    cssclasses:
  • literature-note{% if attachments.length > 0 %}{% for attachment in attachments %}{% if loop.first %}
    attachments:{% endif %}
  • {{attachment.path}}{% endfor %}{% endif %}
    libraryID: {{libraryID}}

{% persist "notes" -%}
{%- if isFirstImport %}

{# ==The following sections (Key takeaways and Processing) are not filled automatically. They are for for you to write into manually.== -#}

Key takeaways

{#- The following is a cursor placeholder for the Templater plugin. After importing the note, you can jump to each of these with an assigned hotkey like ctrl+J #}

{% endif %}{% endpersist %}

[!info]- Info πŸ”— Zotero{% if DOI %} | DOI{% endif %}{% for attachment in attachments | filterby("path", "endswith", ".pdf") %} | [PDF-{{loop.index}}](file:///{{attachment.path | replace(" ", "%20")}}){%- endfor %}

{% if bibliography %}Bibliography: {{bibliography|replace("\n","" )}}{% endif %}

Authors:: {% for a in creators %} [[2_Literature/People/{{a.firstName}} {{a.lastName}}|{{a.firstName}} {{a.lastName}}]]{% if not loop.last %}, {% endif %}{% endfor %}

{% if tags %}Tags: {% for t in tags %}#{{t.tag | replace(r/\s+/g, "-")}}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

Collections:: {% for collection in collections %}[[{{collection.name}}]]{% if not loop.last %}, {% endif %}{% endfor -%}
{%- set readingSpeed = 220 %}
{%- set wordsPerPage = 360 %}
{%- if pages %}
{%- set pageRegex = r/(\d+)-(\d+)/ %}
{%- set splitPages = pageRegex.test(pages) %}
{%- if splitPages %}
{%- set pageMatch = pageRegex.exec(pages) %}
{%- set firstPage = pageMatch[1] %}
{%- set pageCount = pageMatch[2] - pageMatch[1] %}
{%- else %}
{%- set pageCount = pages %}
{%- endif %}
{%- elif numPages %}
{%- set pageCount = numPages %}
{%- else %}
{%- set pageCount = 0 %}
{% endif -%}
{%- if firstPage %}

First-page:: {{firstPage}}
{%- endif -%}
{%- if pageCount > 0 -%}
{%- set readingTime = ((pageCount* wordsPerPage)/readingSpeed)/60 %}

Page-count:: {{pageCount}}

Reading-time:: {% if readingTime < 1 %}{{(readingTime * 60) | round + " minutes"}}{% else %}{{readingTime | round(3) + " hours"}}{% endif %}{% endif %}

[!abstract]-
{% if abstractNote %}
{{abstractNote|replace("\n","\n>")|striptags(true)|replace("Objectives", "Objectives")|replace("Background", "Background")|replace("Methodology", "Methodology")|replace("Results","Results")|replace("Conclusion","Conclusion")}}
{% endif %}

[!quote]- Citations

content: "@{{citekey}}" -file:@{{citekey}}

{%- set headingRegex = r/^#+/ -%}
{%- set titleRegex = r/^#+./ -%}
{%- set lineRegex = r/^.
$/m %}
{%- if longnotes.length > 0 -%}
{%- for n in longnotes -%}
{%- if n and loop.first %}

[!note]- Zotero notes ({{longnotes.length}})

Notes longer than {{longShortCutoff}} words.
{%- endif %}

[!example]- Note {{loop.index}} |{%- if headingRegex.test(n.note) == true %}{{n.note | replace(n.note,titleRegex.exec(n.note))|replace(headingRegex,"")}}{% else %} {{lineRegex.exec(n.note | truncate(30))}}
{% endif %}
{{n.note | replace("\n", "\n>> ")| replace(titleRegex, "")}}{% if n.tags.length > 0 %}

Tags:{% for t in n.tags %} #{{t.tag}}{% if not loop.last %}, {% endif %}{% endfor %}{% endif -%}{%- if not loop.last %}
{%- endif -%}
{%- endfor -%}{%- endif %}


Reading notes

{% set colorValueMap = {
"#2ea8e5": {
"colorCategory": "Blue",
"heading": "❓ Problem formulation",
"symbol": "?"
},
"#5fb236": {
"colorCategory": "Green",
"heading": "🎯 Key takeaways",
"symbol": "$"
},
"#ffd400": {
"colorCategory": "Yellow",
"heading": "πŸ’¬ Evidence and arguments",
"symbol": "&"
},
"#f19837": {
"colorCategory": "Orange",
"heading": "βœ… Actionable takeaways",
"symbol": "!"
},
"#a28ae5": {
"colorCategory": "Purple",
"heading": "🧩 Concepts and frameworks",
"symbol": "~"
},
"#e56eee": {
"colorCategory": "Magenta",
"heading": "πŸ—ΊοΈ Context and connections",
"symbol": "€"
},
"#ff6666": {
"colorCategory": "Red",
"heading": "🚧 Digging and disclaimers",
"symbol": "Β£"
},
"#aaaaaa": {
"colorCategory": "Gray",
"heading": "πŸ“Œ Statistics and info",
"symbol": "%"
}
} -%}

{%- macro tagFormatter(annotation) -%}
{% if annotation.tags -%}
{%- for t in annotation.tags %} #{{ t.tag | replace(r/\s+/g, "-") }}{% if not loop.last %}, {% endif %}{%- endfor %}
{%- endif %}
{%- endmacro -%}

{% persist "annotations" %}
{% set annotations = annotations | filterby("date", "dateafter", lastImportDate) -%}
{% if annotations.length > 0 %}
Imported on [[{{importDate | format("YYYY-MM-DD")}}]] at {{importDate | format("HH:mm")}}

{%- set grouped_annotations = annotations | groupby("color") -%}
{%- for color, colorValue in colorValueMap -%}
{%- if color in grouped_annotations -%}
{%- set annotations = grouped_annotations[color] -%}
{%- for annotation in annotations -%}
{%- set citationLink = '[(p. ' ~ annotation.pageLabel ~ ')](' ~ annotation.desktopURI ~ ')' %}
{%- set tagString = tagFormatter(annotation) %}

{%- if annotation and loop.first %}

{{colorValue.heading}} %% fold %%

{% endif -%}

{%- if annotation.imageRelativePath %}

[!cite]+ Image {{citationLink}}
![[{{annotation.imageRelativePath}}]]{% if annotation.tags %}
{{tagString}}{% endif %}{%- if (annotation.comment or []).indexOf("todo ") !== -1 %}

  • {{annotation.comment | replace("todo ", "")}}{%- elif annotation.comment %}
    {{annotation.comment}}{%- endif %}
    {% elif (annotation.comment or []).indexOf("todo ") !== -1 %}
  • {{annotation.comment | replace("todo ", "")}}:{% if not annotation.annotatedText %} {{citationLink}}{% else %}
    • {{colorValue.symbol}} {{annotation.annotatedText | replace(r/\s+/g, " ")}} {{citationLink}}{{tagString}}{% endif -%}
      {% elif annotation.comment %}
  • {{annotation.comment}}:{% if not annotation.annotatedText %} {{citationLink}}{% else %}
    • {{colorValue.symbol}} {{annotation.annotatedText | replace(r/\s+/g, " ") }} {{citationLink}}{{tagString}}{% endif -%}
      {%- elif annotation.annotatedText %}
  • {{colorValue.symbol}} {{annotation.annotatedText | replace(r/\s+/g, " ") }} {{citationLink}}{{tagString}}
    {%- endif -%}{%- endfor %}{%- endif -%}
    {% endfor -%}
    {% endif %}

{% endpersist %}

@FeralFlora
Copy link
Author

Hey @Bulgy404,

The reason why those annotations have no color is because the symbols at the start don't correspond to the defaults of the List Callouts plugin, which is what handles the coloring of the annotations in Obsidian. The List Callouts plugin comes with 7 preconfigured symbols that will be rendered as highlighted list callouts:

Color List Callouts' defaults My setup
Blue @ ?
Green $ $
Yellow & &
Orange ? !
Purple ~ ~
Magenta no default €
Red ! Β£
Gray % %

Zotero includes an eigth color: Magenta. Two of your annotations are magenta, so this is why they are lacking colors in Obsidian. I'll explain the issue with the red color below.

Magenta

As mentioned in my setup guide over in the Obsidian forum, I recommend setting up a symbol -> color configuration for magenta in the List Callouts plugin's settings. The template adds the "€" symbol for magenta, by default, so the easiest thing is to setup a color for that symbol in the List Callout settings, but feel free to choose any symbol that works for you. Just make sure that the List callout settings and the template use the same symbols for the same colors.

Red

The other case where you're missing colors is Red. The reason for this is an oversight on my part, as it reflects my personal setup. Originally, I made the template so that all seven of the default colors worked as expected out of the box, with the Zotero colors mapped to the List Callout defaults. But since then, I've switched to using ! for orange (which means "Actionable takeaways" in my annotation system) rather than for red, and then I needed a new symbol for red. I chose Β£ for Red, but this is not part of the List Callout defaults.

This is also the reason why your orange highlights are shown as red in Obsidian.

I will change it again so that the template shared here corresponds to the List Callout defaults, so that colors will match with Zotero as expect. It will still be necessary to add a configuration for magenta, though.

The simplest solutions

  1. Fix Magenta: Add a List Callout configuration for the € symbol and choose magenta as the color
  2. Fix Orange: Change the template so that the symbol for red is !, and the symbol for orange is ?

Or, customize the symbols you use in whatever way makes sense to you (maybe ? for whichever color you use for questions?). Just make sure that the symbol assigned in the template corresponds to what you configure in the List Callout plugin's settings.

@FeralFlora
Copy link
Author

@Bulgy404 I've now updated the gist so that the symbol-to-color mappings are again aligned with the List Callout defaults. This means that going forward, people only need to add the configuration for magenta. All the other colors should now work as expected out-of-the-box again. The template still uses € for magenta.

I still recommend that people change the List Callout defaults to suit their needs, and to make the usage of the symbols more intuitively aligned with the meaning of the annotation color. Just make that the symbol-to-color mappings are the same in the List Callouts configuration and the template.

@FeralFlora
Copy link
Author

@Shade1698 & @douglasbreaks Sorry for taking so long in getting back to you. Just wanted to say thank you for reaching out, I really appreciate it, and I'm very glad to hear that my work and help has been so valuable for you. Good luck with everything, and don't hesitate to reach out again, if you need anything!

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