YuBak138 downloadsRecognize Bible references in Obsidian notes and show verse previews from imported EPUB Bible translations.
Bible Reference Preview finds Bible references in notes and shows verse previews from EPUB Bible translations that you import into the plugin.
chapterCount).Build the plugin or download the release archive.
Create this folder in your vault:
.obsidian/plugins/bible-reference-preview/
Copy these files into the folder:
main.js
manifest.json
styles.css
Open Obsidian → Settings → Community plugins and enable Bible Reference Preview.
Reimporting the same translation replaces its previous data.
Bible Reference Preview can show the same Bible reference in several imported translations at once.
⇄).Notes:
Bible Reference Preview can build a local Reference Usage Index for Markdown files in your vault. Use it to find where a selected Bible reference is used across notes.
Result snippets show a short context around the matched reference:
… when the snippet is truncated.The index is stored locally in the plugin data directory. Large Markdown files may be skipped according to the configured size limits to keep indexing responsive.
The plugin includes the command Open Bible reference under cursor. Use the built-in shortcut option in plugin settings or assign any Obsidian hotkey in Settings → Hotkeys.
The Bible preview can be scrolled with Obsidian commands in the side panel and in the floating window. Default hotkeys:
You can change these shortcuts in Settings → Hotkeys.
Плагин распознаёт библейские ссылки в заметках Obsidian и показывает текст из импортированного EPUB-перевода Библии во floating preview.
Кратко:
main.js, manifest.json и styles.css в .obsidian/plugins/bible-reference-preview/.Ин3:16 или Авд2-4.Переводы 2/4 в заголовке предпросмотра.Reference Usage Index строит локальный индекс Markdown-файлов vault и позволяет находить, где используется выбранная библейская ссылка. В результатах показывается короткий фрагмент: 30 символов до ссылки, сама ссылка с подсветкой и 140 символов после ссылки. При обрезке добавляется ….
В режиме сравнения предпросмотр показывает выбранные переводы отдельными блоками. Можно выбрать до четырёх переводов. Заголовки отрывков и сноски используют названия книг конкретного перевода. Сноски выводятся сразу после текста соответствующего перевода.
Сравнение работает в плавающем окне и в боковой панели. На мобильных устройствах выпадающий список переводов адаптирован под ширину экрана.
Предпросмотр Библии можно прокручивать командами Obsidian в боковой панели и в плавающем окне. Горячие клавиши по умолчанию:
Сочетания можно изменить в Settings → Hotkeys.
Use the npm scripts from package.json for local development and verification:
npm run lint
npm run typecheck
npm run build
npm run build:dev
npm run build:analyze
npm test
Script overview:
npm run lint checks the TypeScript and JavaScript sources with ESLint.npm run typecheck runs TypeScript type checking without emitting files.npm run build type-checks the project and builds the production Obsidian plugin bundle.npm run build:dev type-checks the project and builds a larger development bundle with an inline source map for debugging.npm run build:analyze builds the production bundle and writes meta.json for bundle-size analysis.npm test runs the production build, builds CommonJS test modules into .test-build/, and runs parser/importer tests.Build and repository hygiene notes:
.test-build/ is test output and should not be committed.src/**/*.js files should not be committed; source files live in src/**/*.ts.main.js is the Obsidian plugin build artifact used for manual installation and releases.npm run build creates the production main.js by default; use npm run build:dev only when you need an inline source map for debugging.Import and indexing notes:
MIT. See LICENSE.