Repository navigation
Releases
Citation Preview 1.3.0
Citation Preview 1.3.0
Display numeric citations as blue links and preview their references together in Obsidian Page preview. Explicit ref/sref links keep their exact targets; plain citations can use recognized reference lists without anchors.
Changes
- Display resolved citations in blue, including brackets and separators, with an option to follow the theme's link color. Preserve existing links and native single-reference previews. Add navigation for visible plain-text citation numbers without rewriting the note.
- Keep editor syntax and link destinations in their normal colors. Ordinary editor clicks place the cursor; modified clicks navigate.
- Show a whole-group link such as
[1-5](#^ref-1)in one preview: the specified reference above, a horizontal rule (---), and references 1-5 below. The existing link's click target stays unchanged. - Detect numbered bibliographies using structure and bibliographic evidence. Plain citations prefer the closest shared structural section, then source proximity. Missing entries are not borrowed from another list. Explicit
refandsrefresolution remains independent of headings. - Add Citation Preview: Add missing reference anchors, a manually invoked command that inserts missing block IDs in the current note using one undoable transaction. It preserves existing IDs, avoids collisions and duplicate numbering, and adds nothing when repeated. Opening, previewing and navigating never add anchors automatically.
- Add Show citations as links and Citation color settings. Keep the plugin ID
citation-range-previewand minimum Obsidian version1.15.1.
Using the anchor command
Open the note in an editor and run Citation Preview: Add missing reference anchors from the command palette. Assign your own shortcut under Settings → Hotkeys if desired. No default shortcut is reserved.
Validation
- Production build and 232 automated tests across 11 files passed; ESLint reported no errors. The existing settings API deprecation warning remains.
- Hocke: 31 reference blocks and 45 citation groups. Runge: 96 blocks and 108 groups (91 main, 17 supplementary). Original, renamed-heading, removed-heading and CRLF variants all resolve.
- After removing anchors and converting citations to plain numbers, every group's reference content still matches the original explicit targets. The manual command adds 31/96 anchors, and a second run adds 0.
- The installation ZIP contains exactly
main.js,manifest.jsonandstyles.cssinsidecitation-range-preview/, matching the standalone assets byte for byte. - Tests cover real CodeMirror state, DOM preservation and host integration boundaries. Native desktop Obsidian visual verification was not performed in this environment.
Installation
Enable Obsidian's built-in Page preview core plugin. Extract citation-preview-1.3.0.zip into your vault configuration's plugins directory, usually <vault>/.obsidian/plugins/, keeping the internal folder name citation-range-preview. Then enable Citation Preview.
For an existing installation, replace main.js, manifest.json and styles.css in the same plugin folder and reload the plugin. Keep data.json to retain your settings.
See README.md and CHANGELOG.md for supported formats and limitations.
Citation Preview 1.2.0
Citation Preview 1.2.0
Hover over numeric citations such as [1–10] or [3,1–10,12] to view the corresponding references together in Obsidian Page preview. Groups are assembled locally from reference blocks in the same note.
Changes
- Identify references directly from their
^ref-Nand^sref-Nblock IDs, without requiring a bibliography heading. References work under arbitrary headings or with no heading, including notes whose headings contain section numbers or entry counts. - Also support compact IDs such as
^ref1and named sets such as^ref-appendix-1. Unanchored numbered lists no longer create reference entries; existing plain citations need identifiable reference blocks. - Keep independent indexes for main and supplementary anchor prefixes, even when entries appear in different parts of a note. Resolve linked citations by their actual targets and expand ranges only within the selected reference set.
- Separate previews and refreshes for groups with identical visible numbers but different reference targets. Check the exact rendered link targets so figure or equation links cannot consume a citation's preview.
- Use the same local-link validation in Reading view and the editor, including relative and encoded note paths.
- Preserve compact and spaced reference lists and multiline reference blocks. Retain ambiguity reporting when a plain numeric citation does not identify a unique reference set.
- Add regression coverage and a copyable main/supplementary demonstration. Keep the plugin ID
citation-range-previewand minimum Obsidian version1.15.1.
Reference format
Reference blocks are identified by unique ^ref-N and ^sref-N block IDs in the same note. No particular bibliography heading is required. Use explicit links such as [1](<#^ref-1>) and [1](<#^sref-1>) to distinguish main and supplementary references with the same number. Compact forms (^ref1, ^sref1) and named sets such as ^ref-appendix-1 are also supported.
Compatibility: unanchored numbered lists no longer establish reference entries, regardless of their heading. Plain in-text citations still work when existing supported block IDs identify a unique reference set. Existing notes with ref / sref anchors need no content changes.
Validation
- The production build, 171 automated tests across 8 test files, and lint validation passed. The main-branch build workflow passed.
- The supplied Hocke note resolves 31 reference blocks and 45 citation groups. The supplied Runge note resolves 96 reference blocks (66 main and 30 supplementary) and 108 citation groups.
- Both complete notes produce the same results after headings are renamed, headings are removed, and newlines are converted to CRLF.
- The installation ZIP contains exactly
main.js,manifest.json, andstyles.cssinsidecitation-range-preview/. Its files match the standalone assets byte for byte, andmain.jsmatches a fresh in-memory production build. - Native desktop Obsidian visual verification was not performed in this environment.
Installation
Enable Obsidian’s built-in Page preview core plugin. Extract citation-preview-1.2.0.zip into your vault configuration’s plugins directory, usually <vault>/.obsidian/plugins/, keeping the internal folder name citation-range-preview. Then enable Citation Preview in Community plugins.
For an existing installation, replace main.js, manifest.json, and styles.css in that same folder and reload the plugin. Keep data.json to retain your settings. The plugin ID remains citation-range-preview; the minimum Obsidian version remains 1.15.1.
See README.md and CHANGELOG.md for formats, usage, and limitations.
Citation Preview 1.1.1
Citation Preview 1.1.1
Hover over numeric citations such as [1-10] or [3,1-10,12] to view the corresponding references together in Obsidian Page preview. Citation groups are assembled in memory from the numbered bibliography in the same note.
A consistent citation and bibliography format is required. References must be explicitly numbered, unique, and listed under a supported bibliography heading in the same note. See README.md for the exact format and linked-citation examples.
Changes
- Make the native Page preview implementation available as an update for the existing Obsidian Community listing. The plugin keeps its existing ID, settings, and same-note bibliography format.
Installation
Extract citation-preview-1.1.1.zip into the plugins directory of your vault configuration. Keep the internal folder name citation-range-preview, then enable Citation Preview in Community plugins.
Existing installations should replace main.js, manifest.json, and styles.css in the same plugin folder, then reload the plugin. The internal identifier remains citation-range-preview to preserve settings and update continuity.
This release was built from the matching Git tag after the production build, automated tests, and lint checks completed successfully.
See README.md and CHANGELOG.md for supported formats, usage, and limitations. GitHub publication does not imply acceptance into the Obsidian community directory.
Citation Preview 1.0.1
Citation Preview 1.0.1
Hover over numeric citations such as [1-10] or [3,1-10,12] to view the corresponding references together in Obsidian Page preview. Citation groups are assembled in memory from the numbered bibliography in the same note.
A consistent citation and bibliography format is required. References must be explicitly numbered, unique, and listed under a supported bibliography heading in the same note. See README.md for the exact format and linked-citation examples.
Changes
- Explain in the README why Citation Preview uses the current note's bibliography, how it differs from library-backed citation tools and inline annotations, and how it fits AI-assisted note writing.
Installation
Extract citation-preview-1.0.1.zip into the plugins directory of your vault configuration. Keep the internal folder name citation-range-preview, then enable Citation Preview in Community plugins.
Existing installations should replace main.js, manifest.json, and styles.css in the same plugin folder, then reload the plugin. The internal identifier remains citation-range-preview to preserve settings and update continuity.
This release was built from the matching Git tag after the production build, automated tests, and lint checks completed successfully.
See README.md and CHANGELOG.md for supported formats, usage, and limitations. GitHub publication does not imply acceptance into the Obsidian community directory.
Citation Preview 1.0.0
Hover over numeric citations such as [1-10] or [3,1-10,12] to see the corresponding references together in Obsidian Page preview. Citation Preview assembles the group in memory from the numbered bibliography in the same note. It creates no helper files and does not edit your notes.
Requirements
- Obsidian 1.15.1 or later with the Page preview core plugin enabled. Tested on desktop 1.15.1.
- A note with numeric citations and an explicitly numbered bibliography. The integration uses Obsidian's private Markdown embed interface, so future app releases may affect compatibility.
Installation
Extract citation-preview-1.0.0.zip into your vault's .obsidian/plugins/ directory, then enable Citation Preview in Settings → Community plugins.
See the README for examples, dependencies, and limitations.