The JW Library Linker plugin streamlines the process of working with JW Library content by converting jwpub:// links to the jwlibrary:// format, making them compatible with the JW Library app. It offers bulk conversion options for all links, Bible verses, or publication links in a note. Additionally, it includes a /b command that helps insert Bible references quickly, with options to just create the link or create and open it directly in JW Library. This is particularly useful for users who frequently reference scriptures or JW publications in their notes and want a more efficient linking experience.
Patch Changes
#182
3ad4022Thanks @msakowski! - Fix multi-chapter references in link name and suggestion.Multi-chapter Bible references like "Matthew 3:1-4:11" were being incorrectly displayed as "Matthew 3:1-11" in the suggester interface. The parsing and link generation were working correctly, but the
formatBibleTextfunction was not handling theendChapterfield properly for display purposes.Fixed:
- Multi-chapter references now display correctly in suggestions (e.g., "Matthew 3:1-4:11" instead of "Matthew 3:1-11")
- Added proper handling of
endChapterfield informatBibleTextfunction - Added comprehensive tests for multi-chapter reference formatting
Examples of fixed references:
- Matthew 3:1-4:11
- Genesis 1:1-2:3
- John 2:3-3:6