Edit: Version 1.1 - Corrected a redundant RegEx pattern.
Bible Pericope Reference for Obsidian.kmmacros.zip (13.7 KB)
Here it is. You’ll have to unzip it, then open it with KM.
-
If you’re like me and you’re paranoid about malware, I’d suggest always importing someone else’s macros through File>Import Macros Safely…
-
There are notes in the file, but basically you need to have:
- Full name of the book (Genesis, not Gen.) because it would take forever to parse out the variations of the abbreviations for every book
- An actual existing file with the chapter and verse source text available (i.e. I don’t have the book of James ready, so if I try the macro on James 1:1-3 it won’t work.
- A range of verses, not a single verse (if it’s a single verse reference, you won’t need the macro and it wouldn’t save you any time).
I’ve done some testing and it seems to work OK for me, but if you find issues let me know. They can probably be fixed by tweaking the RegEx filter.
Example:
1 Corinthians 12:5-8
will give you:
![[1 Corinthians 12#5]]
![[1 Corinthians 12#6]]
![[1 Corinthians 12#7]]
![[1 Corinthians 12#8]]
- If you want them all in a single line instead of on new lines each, that can be done as well.
Note: This works for the methodology posted at the beginning of this thread by @Joschua, not the later ideas. Those might work as well with KM, I just haven’t tried yet.