logos-refs
approvedby Joey Kilgore
Easily take refs from Logos and connect them within your notes
Logos-refs plugin
An Obsidian plugin that simplifies referencing and linking material from Logos Bible Software. Easily create formatted citations with metadata-based references and automatically generate bibliographies for your notes. Reference metadata is stored in YAML frontmatter format, making it compatible with Obsidian properties, Dataview queries, and the Bases plugin.
Table of Contents
- Features
- Installation
- Configuration
- Usage
- File Structure & Organization
- Development
- Contributing
- Support
Features
š Paste Logos Reference with BibTeX
Copy a passage from Logos Bible Software and paste it directly into your Obsidian notes with automatic citation formatting:
- Creates formatted quote blocks with proper attribution
- Automatically extracts BibTeX citation data
- Generates reference notes with YAML metadata (compatible with Obsidian properties and the Bases plugin)
- Generates or updates reference notes with bidirectional links
- Handles page numbers intelligently (single page vs. page ranges)
- Assigns unique block IDs for precise reference tracking
- Maintains a citation counter for each note
- Customizable citation callout type
- Backward compatible with existing BibTeX code block format
š Generate Bibliography
Automatically compile all BibTeX references from your current note into a formatted bibliography:
- Scans all links in your document for BibTeX references
- Supports multiple bibliography formats (LaTeX/BibTeX, MLA, APA, and Chicago)
- Updates existing bibliography sections or creates new ones
- Removes duplicate entries automatically
š¤ Export References
Export all your BibTeX references to a single file:
- Collects all references from your reference folder
- Creates a single
.bibfile ready for use with LaTeX or other citation managers - Updates existing export file or creates a new one
Installation
From Obsidian Community Plugins
- Open Obsidian Settings
- Navigate to Community Plugins and disable Safe Mode
- Click Browse and search for "logos-refs"
- Install the plugin and enable it
Initial Setup
- In the logos-refs plugin settings, configure your reference directory (e.g.,
refsorsources/biblical) - In Logos Bible Software, go to Program Settings ā Citation and set the citation style to BibTeX Style
- You're ready to start taking notes!
Configuration
Access the plugin settings through Obsidian Settings ā Community Plugins ā Logos-refs.
BibTeX Note Folder
Default: Vault root
Specify the folder where reference notes will be created. The plugin provides folder autocomplete to help you select an existing folder. If the folder doesn't exist, it will be created automatically when you paste your first reference.
Examples:
refs- A simple refs folder at the vault rootsources/biblical- Nested folder structure- Leave empty to create reference notes at the vault root
Bibliography Format
Default: LaTeX (BibTeX)
Choose how bibliographies are formatted when using the "List all BibTeX references" command:
- LaTeX (BibTeX): Displays BibTeX entries in code blocks, ideal for academic writing with LaTeX
- MLA: Converts BibTeX to MLA format for humanities writing
- APA: Converts BibTeX to APA format (7th edition style)
- Chicago: Converts BibTeX to Chicago Manual of Style format
Citation Callout Type
Default: "Logos Ref"
Customize the callout type used for citations. You can change it to any Obsidian callout type you prefer (e.g., "Quote", "Citation", "Note"). This allows you to match your personal note-taking style or use different callout styles for different types of content.
Usage
Pasting Logos References
https://github.com/user-attachments/assets/444c5892-8e17-43c4-8c8b-27a319315eec
- In Logos Bible Software, select and copy the text you want to reference (Ctrl/Cmd+C)
- In your Obsidian note, use the command palette (Ctrl/Cmd+P) and run "Paste Logos reference with BibTeX"
- Or set up a hotkey for faster access
- The plugin will:
- Insert a formatted quote block with your copied text
- Create a link to a reference note (or update an existing one)
- Add page numbers if they were included in the Logos copy
- Format the citation according to your selected bibliography format
- Create a unique block reference ID for precise linking
What gets created:
In your current note (format varies by selected bibliography format):
> [!Logos Ref]
> Your copied text from Logos appears here
> [[refs/AuthorYear|(Author, 2020, p. 123)]] ^AuthorYear-1
Citation format examples:
- LaTeX/BibTeX:
AuthorYear, p. 123 - APA:
(Author, 2020, p. 123) - MLA:
(Author 123) - Chicago:
(Author 2020, 123)
In the reference note (refs/AuthorYear.md):
---
type: book
citekey: AuthorYear
author: Author Name
title: Book Title
publisher: Publisher
year: 2020
---
## Citations
- [[YourNote#^AuthorYear-1]] ā p. 123
Generating a Bibliography
After citing multiple sources in your note, you can automatically generate a bibliography:
- Use the command palette (Ctrl/Cmd+P) and run "List all BibTeX references"
- The plugin will:
- Scan all links in your current document
- Collect BibTeX entries from linked reference notes
- Generate a formatted bibliography based on your chosen format
- Add or update a "## Bibliography" section at the end of your note
Example output (LaTeX format):
## Bibliography
\`\`\`bibtex
@book{AuthorYear,
author = {Author Name},
title = {Book Title},
publisher = {Publisher},
year = {2020}
}
\`\`\`
\`\`\`bibtex
@article{Smith2019,
author = {Smith, John},
title = {Article Title},
journal = {Journal Name},
year = {2019}
}
\`\`\`
Example output (MLA format):
## Bibliography
Author Name. *Book Title*. Publisher, 2020.
Smith, John. "Article Title." *Journal Name*, vol. 10, no. 2, 2019, pp. 45-67.
Example output (APA format):
## Bibliography
Author Name (2020). *Book Title*. Publisher.
Smith, J. (2019). Article Title. *Journal Name*, *10*(2), 45-67.
Example output (Chicago format):
## Bibliography
Author Name. *Book Title*. Publisher, 2020.
Smith, John. "Article Title." *Journal Name* 10, no. 2 (2019): 45-67.
Exporting References
After building your reference library, you can export all references to a single BibTeX file:
- Use the command palette (Ctrl/Cmd+P) and run "Export all references to BibTeX file"
- The plugin will:
- Scan all reference notes in your configured reference folder
- Collect all BibTeX entries
- Create or update
exported-references.bibin your vault root - Display how many references were exported
This file can be used directly with LaTeX documents or imported into citation managers like Zotero or Mendeley.
File Structure & Organization
The plugin creates and manages reference notes automatically. Here's a typical structure:
your-vault/
āāā refs/ # Your configured reference folder
ā āāā Wright2013.md # Individual reference notes
ā āāā Carson1991.md
ā āāā Keener2014.md
āāā notes/
ā āāā Sermon Notes.md # Your content notes with citations
ā āāā Research Paper.md # Citations link to refs folder
āāā Daily Notes/
āāā 2025-01-30.md # Can cite from anywhere
Reference Note Structure: Each reference note contains:
- YAML frontmatter metadata with the full citation information (type, author, title, year, publisher, etc.)
- A "## Citations" section listing all places where this source is referenced
- Bidirectional links back to specific quote blocks in your notes
Example reference note:
---
type: book
citekey: Wright2013
author: Wright, N. T.
title: Paul and the Faithfulness of God
publisher: Fortress Press
year: 2013
---
## Citations
- [[Sermon Notes#^Wright2013-1]] ā p. 123
- [[Research Paper#^Wright2013-2]] ā pp. 145-150
Benefits of this structure:
- Metadata Integration: Works seamlessly with Obsidian's Properties panel and metadata-aware plugins
- Bases Plugin Compatible: Metadata format is fully compatible with the Bases plugin for enhanced querying
- Dataview Support: Query your references using Dataview plugin (e.g.,
WHERE type = "book" AND year > 2010) - See all places you've cited a particular source
- Navigate between quotes and their sources seamlessly
- Keep your reference library organized and reusable
- Export BibTeX for use in other tools (LaTeX, Zotero, etc.)
- Backward compatible with existing notes using BibTeX code blocks
Development
Code Structure
The plugin source code is organized in a modular structure for maintainability:
src/
āāā main.ts # Plugin entry point and command orchestration
āāā settings.ts # Settings interface and UI
āāā types.ts # TypeScript type definitions
āāā ui/ # User interface components
ā āāā folder-suggest.ts # Folder autocomplete
ā āāā suggest.ts # Base suggestion classes
āāā utils/ # Utility functions
āāā bibtex-converter.ts # BibTeX ā YAML conversion
āāā citation-formatter.ts # Citation formatting (LaTeX, MLA, APA, Chicago)
āāā clipboard-parser.ts # Parse Logos clipboard data
āāā file-manager.ts # File operations
Each module has a single responsibility, making the code easier to test and maintain. See src/README.md for detailed documentation.
Building from Source
# Clone the repository
git clone https://github.com/joey-kilgore/logos-refs.git
cd logos-refs
# Install dependencies
npm install
# Build the plugin
npm run build
# For development with auto-rebuild
npm run dev
Contributing
Contributions are welcome! Here's how you can help:
Reporting Bugs
- Check existing Issues first to avoid duplicates
- Include steps to reproduce the bug
- Describe expected vs. actual behavior
- Include your Obsidian version and plugin version
- Screenshots or screen recordings are helpful!
Requesting Features
- Search existing Issues for similar requests
- Clearly describe the feature and its use case
- Explain how it would benefit Logos users
- Join the Discussion for broader ideas
Pull Requests
- Fork the repository and create a feature branch
- Follow the existing code style
- Test your changes thoroughly
- Update documentation if needed
- Submit a PR with a clear description of your changes
This plugin is under continuous development, and your feedback helps make it better for the Logos community!
Support
If you find this plugin helpful, consider showing your support:
- ā Star the project on GitHub
- ā Sponsor the development
- š¬ Share feedback in Issues or Discussions
- š¢ Tell others who use Logos and Obsidian
Links
- Obsidian - The knowledge base application
- Logos Bible Software - Biblical study software
- Plugin Documentation
- Report Issues
- Discussions
License
MIT License - Copyright (c) 2025 Joey Kilgore
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.