New user here. I assume I have set up something incorrectly but I can’t see what is wrong. When I preview the note I get the Invalid YAML message. And the Zotero link doesn’t work.
Here’s the output:
title: Conducting Research on the Internet : Online Survey Design , Development and Implementation Guidelines
authors: Dorine Andrews, Blair Nonnecke, Jennifer Preece
year: 2003
tags:
aliases:
---
title: "Conducting Research on the Internet : Online Survey Design , Development and Implementation Guidelines"
authors: "Dorine Andrews, Blair Nonnecke, Jennifer Preece"
year: 2003
tags:
aliases:
- "zotero://select/items/@andrews2003ConductingResearchInternet"
---
It will render appropriately like this.
If the Zotero reference is an alias, it needs to be on the same line as the alias key or as shown. The en dash means it is a part of the alias key.
Also, if what you use has spaces, they need to be inside quotes, single or double.
Thanks. It does render with what you provided, but isn’t separated into separate lines. I need the title, authors, etc, each on a separate line. Also the Zotero link is still just a string of text, not a link. In the tutorials I’ve watched that should be a clickable link (in preview mode)
Your YAML is being considered invalid because of the : character in your title. You’ll need to enclose it in quotations like @jwl showed in their example. Give that a test
You mean the colon in the title of the paper, right? I removed the colon from the title and now that text disappears in preview mode (see below). Is that what is supposed to happen?
Sorry but I didn’t understand what you meant about enclosing it in quotations. Do you mean in the template? Or on each individual note? How should I edit the template? [I’m not familiar with working with code, please forgive me]
Also, if I just delete the colon as a workaround, I am still left with the problem of Zotero links not showing as links.
What do I need to put in the Literature note content template so that the Zotero reference can display as a link in the note? When clicked it should bring me to Zotero right?
Go to settings → editor → show frontmatter. If this is toggled off, the frontmatter will not show in preview mode. If the frontmatter is incorrectly formatted, as in your screenshot, it shows a warning. Once it is formatted correctly, it will not show unless you toggle it on in the settings.
Hi Hurla64. Thank you so much for your sharing and this one really works WELL! Many thanks! And based on this I add some elements that I need. As following is my code:
Hi friends! Many thanks to Hurla64. I’ve made a template based on hurla64’s codes. I hope this can help. The issue mentioned in this discussion seemed so annoying for sure.