Repository navigation
Releases
1.1.0
Feature release: you decide which export wins when the same citekey appears in several CSL JSON files.
Added
- File priority. Settings → Citation Links now lists every
.jsonfile of the CSL JSON folder under "File priority". When a citekey appears in more than one file, the entry from the file higher in the list is used. Reorder the list by dragging a row by its handle, or by focusing a row and pressing Alt+Up/Alt+Down (Option on macOS). - Each row shows the file's number of items and, where it applies, how many of its citekeys a file above overrides, so you can see at a glance which export a duplicate comes from.
- A file that shows up later – for example a new Better BibTeX export – goes to the bottom of the list. A file that is missing for a while keeps its place.
- "Copy debug report" includes the file priority.
Changed
- Duplicate citekeys no longer trigger a pop-up. Duplicates across files are resolved by the file priority; a citekey that occurs twice inside one file is counted in that file's row, and the last entry in the file is used.
- Default winner on duplicates: until now the alphabetically last file won. On first start with 1.1.0 the files are listed in plain name order (upper-case letters before lower-case ones) and the first file wins. If you have duplicate citekeys across exports, check the list once and drag the file you prefer to the top.
1.0.2
Small usability release. No changes to how citations are rendered.
Changed
- The "CSL JSON folder" setting is now clearly marked as required. Its description opens with the requirement and names an example path, and while the field is empty the settings tab shows an inline message saying what to enter.
- While no folder is set, a notice at start-up (and when running "Reload bibliography") explains that nothing is rendered until the folder points at your Better BibTeX exports.
- The README's installation section starts with the same requirement, marks step 3 as required, and Troubleshooting begins with the most common symptom: citations that stay ordinary wikilinks.
- Since Citation Links is now available in Obsidian's community plugin directory, the README only describes installing it from there.
Note
An empty folder value no longer passes validation, so the field cannot be cleared once set. To switch the plugin off, disable it under Settings → Community plugins.
1.0.1
Maintenance release. No functional changes.
Changed
- All Node.js imports (
node:fs,node:os,node:path,node:http) are now confined to two small facade modules,src/platform/node.tsandsrc/platform/http.ts, which expose only the members the plugin uses behind explicit interfaces. The rest of the code base no longer touches Node APIs directly, and a lint rule keeps it that way. - The Zotero JSON-RPC client uses web-standard
Uint8Array,TextEncoder,TextDecoderand the globalURLinstead of Node'sBufferandnode:url. Request and response bytes are identical to 1.0.0 (verified with a differential test against the previous implementation).
Why
Obsidian's community-directory review type-checks plugin sources without Node's type declarations, which made every Node call in 1.0.0 show up as an "unsafe" lint warning on the plugin's scorecard (100 warnings). With the facades the scan reports none, while the plugin's own build still verifies the facade interfaces against the real Node typings.
The remaining scorecard notes are disclosures inherent to what the plugin does: it reads the CSL JSON export folder outside the vault, talks to Zotero's local Better BibTeX endpoint on 127.0.0.1, and copies the debug report to the clipboard.
1.0.0
First release of Citation Links.
Citation Links renders wikilinks to Better BibTeX citekeys – [[@Citekey]] – as APA 7 in-text citations in Live Preview and Reading mode, while keeping them ordinary, clickable vault links.
Highlights
- APA 7 in-text citations via citeproc-js: parenthetical
(Author, 2026), narrativeAuthor (2026)and year-only forms, page, chapter and section locators, grouping of adjacent citations, per-note disambiguation (2026a, 2026b). - Data source: a folder of Better BibTeX "Better CSL JSON" auto-exports, watched for changes and kept in memory only.
- Reference list in the right sidebar: APA bibliography of the active note with bold author and date, clickable DOIs and URLs, an "Open in Zotero" button that resolves items in all libraries through Better BibTeX's local JSON-RPC, and an "Open note" / "Create note" button.
- Citekey autocompletion when typing
@. - Unknown citekeys are marked; clicking a citation without a literature note creates
@<citekey>.mdin the vault root. - Citations and the reference list can be restyled through CSS custom properties.
Requirements
Obsidian 1.13.0 or newer, desktop only. Zotero with the Better BibTeX add-on for the export and the Zotero buttons. Installation and setup are described in the README.