You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**_Adds colored tags to Zotero items that have associated Markdown notes stored in an external folder._**
6
-
-**_Opens Markdown notes from the contextual menu of Zotero items._**
5
+
-**_Scans your Markdown database and adds a colored tag to associated Zotero items._**
6
+
-**_Jump to Markdown notes from the contextual menu of Zotero items._**
7
7
-**_Supports various Markdown databases, including [Obsidian](https://obsidian.md), [logseq](https://logseq.com), and [Zettlr](https://www.zettlr.com)_**
This is a plugin for [Zotero](https://www.zotero.org), a research source management tool. The _MarkDB-Connect_ plugin searches a user-defined folder for Markdown files that include a [Better BibTeX](https://retorque.re/zotero-better-bibtex/) citekey or ZoteroItemKey, and adds a colored tag to the corresponding Zotero items.
11
+
This is a plugin for [Zotero](https://www.zotero.org), a research source management tool. The _MarkDB-Connect_ plugin searches a user-defined folder for markdown files that include a [Better BibTeX](https://retorque.re/zotero-better-bibtex/) citekey or Zotero-Item-Key, and adds a colored tag to the corresponding Zotero items.
12
12
13
-
This plugin was initially designed with the [Obsidian](https://obsidian.md)Markdown editor in mind, and was inspired by the [obsidian-citation-plugin](https://github.com/hans/obsidian-citation-plugin) workflow. It offers preliminary support for [logseq](https://logseq.com) and [Zettlr](https://www.zettlr.com). It can be adapted to other databases that store Markdown files outside of Zotero, and to other workflows that generate Markdown reading notes linked to Zotero items (such as Zotero's `Export Note` feature).
13
+
This plugin was initially designed with the [Obsidian](https://obsidian.md)markdown editor in mind, and was inspired by the [obsidian-citation-plugin](https://github.com/hans/obsidian-citation-plugin) workflow. It offers preliminary support for [logseq](https://logseq.com) and [Zettlr](https://www.zettlr.com). It can be adapted to other databases that store markdown files outside of Zotero, and to other workflows that generate markdown reading notes linked to Zotero items (such as Zotero's `Export Note` feature).
14
14
15
15
Please post any bugs, questions, or feature requests in the Github repository.
16
16
17
17
## Plugin Functions
18
18
19
19
Adds a colored tag to Zotero items for which there are associated reading notes in an external folder.
20
20
21
-
Supports multiple Markdown files for a single Zotero item.
21
+
Supports multiple markdown files for a single Zotero item.
22
22
23
-
Opens an existing Markdown note in [Obsidian](https://obsidian.md), [logseq](https://logseq.com), or the system's default Markdown note editor (e.g. [Zettlr](https://www.zettlr.com), [Typora](https://typora.io)) from the contextual menu of a Zotero item.
23
+
Opens an existing markdown note in [Obsidian](https://obsidian.md), [logseq](https://logseq.com), or the system's default markdown note editor (e.g. [Zettlr](https://www.zettlr.com), [Typora](https://typora.io)) from the contextual menu of a Zotero item.
24
24
25
25

26
26
@@ -36,39 +36,39 @@ Opens an existing Markdown note in [Obsidian](https://obsidian.md), [logseq](htt
36
36
37
37
## Setup
38
38
39
-
A Markdown file can specify which Zotero item it's linked to using either a [Better BibTeX](https://retorque.re/zotero-better-bibtex/) citekey or a Zotero-Item-Key.
39
+
A markdown file can specify which Zotero item it's linked to using either a [Better BibTeX](https://retorque.re/zotero-better-bibtex/) citekey or a Zotero-Item-Key.
40
40
41
-
1.Link Markdown files to Zotero items using **Better BibTeX citekeys**.
41
+
1.Using **Better BibTeX citekeys** to link markdown files to Zotero items.
42
42
43
-
- This is recommended if you created the Markdown notes with [obsidian-citation-plugin](https://github.com/hans/obsidian-citation-plugin).
43
+
- This is recommended if you created the markdown notes with [obsidian-citation-plugin](https://github.com/hans/obsidian-citation-plugin).
44
44
45
-
- The BetterBibTeX citekey needs to appear in the filename or the metadata of the Markdown note.
45
+
- The BetterBibTeX citekey needs to appear in the filename or the metadata of the markdown note.
46
46
47
-
2.Link Markdown files to Zotero items using **Zotero Item Keys**.
47
+
2.Using **Zotero Item Keys** to link markdown files to Zotero items.
48
48
49
-
- This is recommended if you created the Markdown notes with the `Export Note` feature of Zotero.
50
-
- The Markdown note contents should include the Zotero-Item-Key in a consistent format.
49
+
- This is recommended if you created the markdown notes with the `Export Note` feature of Zotero.
50
+
- The markdown note contents should include the Zotero-Item-Key in a consistent format.
51
51
52
-
NOTE: Multiple Markdown files can point to the same Zotero item. However, _MarkDB-Connect_ assumes that a given Markdown file corresponds to a single Zotero item. (A Markdown reading note can reference multiple Zotero items throughout the file, but _MarkDB-Connect_ will only link the Markdown note to one BetterBibTeX-citekey / Zotero-Item-Key.)
52
+
NOTE: multiple markdown files can point to the same Zotero item. However, _MarkDB-Connect_ assumes that a given markdown file corresponds to a single Zotero item. (A markdown reading note can reference multiple Zotero items throughout the file, but _MarkDB-Connect_ will only link the markdown note to one BetterBibTeX-citekey / Zotero-Item-Key.)
53
53
54
54
---
55
55
56
56
### Option 1: Using BetterBibTeX citekeys
57
57
58
-
_MarkDB-Connect_ can extract the BetterBibTeX citekey that specifies which Zotero Item a Markdown note corresponds to. The BetterBibTeX citekey can be taken from the Markdown filename or yaml metadata.
58
+
_MarkDB-Connect_ can extract the BetterBibTeX citekey that specifies which Zotero Item a markdown note corresponds to. The BetterBibTeX citekey can be taken from the markdown filename or yaml metadata.
59
59
60
60
- In `MarkDBConnect Preferences...` (under the `Tools` menu),
61
61
62
-
- Specify the location of the folder that contains your Markdown reading notes (e.g. `/Users/me/Documents/ObsVault/ReadingNotes/`). The _MarkDB-Connect_ plugin will recursively search this path for Markdown files.
62
+
- Specify the location of the folder that contains your markdown reading notes (e.g. `/Users/me/Documents/ObsVault/ReadingNotes/`). The _MarkDB-Connect_ plugin will recursively search this path for markdown files.
63
63
64
64
- The default behavior is to search for markdown files beginning with `@`.
65
65
- Alternatively, you can specify a RegEx pattern to match your reading note files.
66
66
67
67
- Select the `Match notes based on BetterBibTeX citekey` option.
68
68
69
-
- By default, _MarkDB-Connect_ expects that the filenames of your Markdown reading note files begin with `@mycitekey` but can include extra information after it (e.g. a reading note with the BetterBibTeX citekey `shepard1987science` could have the file name `@shepard1987science.md` or `@shepard1987science Toward a universal law of generalization for psychological science.md`).
69
+
- By default, _MarkDB-Connect_ expects that the filenames of your markdown reading note files begin with `@mycitekey` but can include extra information after it (e.g. a reading note with the BetterBibTeX citekey `shepard1987science` could have the file name `@shepard1987science.md` or `@shepard1987science Toward a universal law of generalization for psychological science.md`).
70
70
71
-
- Optionally, you can have _MarkDB-Connect_ read the metadata of your Markdown notes and extract the citekey from one of the fields. To enable this, specify the metadata ID (`citekey` is a common value).
71
+
- Optionally, you can have _MarkDB-Connect_ read the metadata of your markdown notes and extract the citekey from one of the fields. To enable this, specify the metadata ID (`citekey` is a common value).
72
72
73
73
- This is necessary if the file names do not begin with the correct citekey, which may happen if the citekeys include special characters (e.g. if a citekey contains `:`, it will probably need to be taken from the yaml metadata rather than the filename).
74
74
@@ -80,20 +80,20 @@ _MarkDB-Connect_ can extract the BetterBibTeX citekey that specifies which Zoter
80
80
81
81
### Option 2: Using Zotero Item Keys
82
82
83
-
_MarkDB-Connect_ can extract the Zotero-Item-Key that specifies which Zotero Item a Markdown note corresponds to. The Zotero-Item-Key is taken from the Markdown file contents using a custom RegEx pattern.
83
+
_MarkDB-Connect_ can extract the Zotero-Item-Key that specifies which Zotero Item a markdown note corresponds to. The Zotero-Item-Key is taken from the markdown file contents using a custom RegEx pattern.
84
84
85
85
Zotero automatically generates Item Keys, they take the form of `ABCD1234`, as in `zotero://select/library/items/ABCD1234`. NB this is not the same as the BetterBibTeX citekey you assigned an item (e.g. `mycitekey` in `zotero://select/items/@mycitekey`).
86
86
87
87
- In `MarkDBConnect Preferences...` (under the `Tools` menu),
88
88
89
-
- Specify the location of the folder that contains your Markdown reading notes (e.g. `/Users/me/Documents/ObsVault/ReadingNotes/`). The _MarkDB-Connect_ plugin will recursively search this path for Markdown files.
89
+
- Specify the location of the folder that contains your markdown reading notes (e.g. `/Users/me/Documents/ObsVault/ReadingNotes/`). The _MarkDB-Connect_ plugin will recursively search this path for markdown files.
90
90
91
91
- The default behavior is to search for markdown files beginning with `@`.
92
92
- Alternatively, you can specify a RegEx pattern to match your reading note files.
93
93
94
94
- Select the `Match notes based on Zotero-Item-Key` option.
95
95
96
-
- Specify a RegEx pattern to extract the Zotero-Item-Key from the Markdown contents.
96
+
- Specify a RegEx pattern to extract the Zotero-Item-Key from the markdown contents.
97
97
98
98
E.g. if your note has the line
99
99
@@ -111,39 +111,39 @@ Zotero automatically generates Item Keys, they take the form of `ABCD1234`, as i
111
111
112
112
## Example Markdown Note
113
113
114
-
In this example Markdown note (`@saxe2017emobtom.md`), the _MarkDB-Connect_ will use the yaml metadata keyword `citekey` to find the BetterBibTeX citekey (`saxe2017emobtom`) to determine which Zotero item to associate with the Markdown file. Notice that the Markdown file can include other BetterBibTeX citekeys and Zotero-Item-Keys, which are ignored by the plugin.
114
+
In this example markdown note (`@saxe2017emobtom.md`), the _MarkDB-Connect_ will use the yaml metadata keyword `citekey` to find the BetterBibTeX citekey (`saxe2017emobtom`) to determine which Zotero item to associate with the markdown file. Notice that the markdown file can include other BetterBibTeX citekeys and Zotero-Item-Keys, which are ignored by the plugin.
115
115
116
116
```markdown
117
117
---
118
118
citekey: saxe2017emobtom
119
-
doi: 10.1016/j.copsyc.2017.04.019
120
119
zoterouri: zotero://select/library/items/IACZMXU4
121
120
bbturi: zotero://select/items/@saxe2017emobtom
121
+
doi: 10.1016/j.copsyc.2017.04.019
122
122
---
123
123
124
124
# Formalizing emotion concepts within a Bayesian model of theory of mind
125
125
126
-
[A reference using a Zotero URI](zotero://select/library/items/4RJ97IFL)
126
+
[A reference to another paper using a Zotero URI](zotero://select/library/items/4RJ97IFL)
127
127
128
-
[A reference using a BetterBibTeX URI](zotero://select/items/@anzellotti2021opaque)
128
+
[A reference to another paper using a BetterBibTeX URI](zotero://select/items/@anzellotti2021opaque)
129
129
130
-
A reference using an Obsidian wiki link: [[@cusimano2018cogsci]]
130
+
A reference to another paper using an Obsidian wiki link: [[@cusimano2018cogsci]]
0 commit comments