No description
Find a file
2024-10-26 15:59:05 +01:00
.github/workflows Update Github Actions versions 2024-06-15 22:00:51 +01:00
src Add shortTitle as a template option 2024-10-26 15:37:53 +01:00
.editorconfig Initial version of Zotero Link plugin 2022-06-07 00:18:15 +01:00
.eslintignore Initial commit 2022-06-06 00:36:04 +01:00
.eslintrc Initial commit 2022-06-06 00:36:04 +01:00
.gitignore Initial version of Zotero Link plugin 2022-06-07 00:18:15 +01:00
.npmrc Initial commit 2022-06-06 00:36:04 +01:00
esbuild.config.mjs Update dependencies 2024-06-15 21:58:30 +01:00
LICENSE Initial version of Zotero Link plugin 2022-06-07 00:18:15 +01:00
manifest.json Bump version to 1.0.2 2024-10-26 15:59:05 +01:00
package-lock.json Update dependencies 2024-10-26 14:43:13 +01:00
package.json Bump version to 1.0.2 2024-10-26 15:59:05 +01:00
README.md Add shortTitle as a template option 2024-10-26 15:37:53 +01:00
tsconfig.json Initial version of Zotero Link plugin 2022-06-07 00:18:15 +01:00
version-bump.mjs Initial commit 2022-06-06 00:36:04 +01:00
versions.json Bump version to 1.0.2 2024-10-26 15:59:05 +01:00

Zotero Link

Prerequisites

Zotero >= 7

Enable Local API feature in settings: Settings > Advanced > Allow other applications on this computer to communicate with Zotero

Zotero <= 6

Install Zotero addon ZotServer

Installation

Install zotero-bridge and this plugin from Obsidian Community Plugins settings screen.

Usage

When this plugin installed it adds new command to the Command Palette: Zotero Link: Insert. You can add a keyboard shortcut for this command in Obsidian settings.

Exact text of the link can be changed with template configuration in plugin settings.

Following keywords are acceptable in the template:

  • {{ key }} Zotero item key
  • {{ title }} item title
  • {{ shortTitle }} item short title
  • {{ date.year }} publication year e.g. 2011
  • {{ date.month }} publication month e.g. 10
  • {{ date.day }} publication day e.g. 31
  • {{ firstAuthor.fullName }} first author's full name
  • {{ firstAuthor.firstName }} first author's first name
  • {{ firstAuthor.lastName }} first author's last name
  • {% for author in authors %}{{ author.lastName}}, {{ author.firstName | first }}., {% endfor %} advanced use of template to output all authors

Template language is based on Nunjucks, so its syntax and built-in filters are also available.

There is also a good video review and demonstration of the plugin, made by Curtis McHale.

License

MIT