The Link to Verse plugin allows users to effortlessly generate links to Bible passages within their Obsidian notes. By inputting a Bible reference in natural language, such as 'John 3:16,' users can create links to online Bible tools like BibleGateway or Olive Tree. The plugin offers customizable link templates, supports multiple Bible versions, and includes settings for language preferences, book name validation, and URL formatting. This tool is ideal for individuals who frequently reference scripture, enabling streamlined integration of Bible passages into their notes.
@aygjiay/bible-ref-parser
with @j316/bible-ref-parser
due to availability, as @j316
is a public version of the same package, allowing broader access and use.validateBookName
option in the plugin settings to enable or disable validation of the book name before constructing the URL.validateBookName
setting, allowing non-standard book names to be passed directly to the URL without validation when this option is disabled.formatVerseRange
function for improved URL formatting when handling spaces, replacing whitespace in book names with either +
or %20
as specified by the encodeSpacesToPlus
setting.validateBookName
toggle in LinkToVerseSettingTab
for easier customization.encodeSpacesToPlus
setting.bibleLanguage
option to specify Bible book names in different languages (en
or sp
).encodeSpacesToPlus
option, which encodes spaces in URLs as +
, allowing more flexibility in URL formatting.@aygjiay/bible-ref-parser
to handle Bible reference parsing.DEFAULT_TEMPLATE
and OLIVE_TREE_TEMPLATE
, to accommodate various URL structures.formatVerseRange
to use the new template system, improving the versatility of link generation.LinkToVerseSettingTab
to include new setting fields for bibleLanguage
and encodeSpacesToPlus
.