Search

Search IconIcon to open search

Import Bible to Obsidian (Markdown)

Last updatedUpdated: by Simon Späti · CreatedCreated:

Below is how I imported the Bible into Obsidian as Markdown files with the help of this repository: BibleGateway-to-Markdown, a way of parsing NET Bible passage output from Bible Gateway.

1
2
3
4
5
6
git clone git@github.com:jgclark/BibleGateway-to-Markdown.git
git clone git@github.com:selfire1/BibleGateway-to-Obsidian.git
mv BibleGateway-to-Markdown/bg2md.rb BibleGateway-to-Obsidian
cd BibleGateway-to-Obsidian
gem install colorize optparse clipboard
bash bg2obs.sh -i -v NIV

# Connecting

You can simply link to the main chapter such as and link to the lines with hashtags: e.g. [[Ps 9#2]].

Read more at Start connecting Scripture by Joschua.

# After Import


Find also the example in Obsidian Example.

# Tweaks

# Subtitles Are not Shown Correctly

The job finishes with “Cleaning up the Markdown files.” This will break new lines and format with h6 so it’s easily readable and linkable. Before that last job is done, it’s not readable or usable in Obsidian.

E.g. highlighted in orange is a title that didn’t get formatted that way:

# CSS Tweaks for Obsidian Publish

Only if you use Obsidian Publish, which I don’t, but then you can use this:

Don’t display file headers:

1
2
3
.page-header {
	display: none;
}

Hiding things:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
/* HIDE FOLDERS IN THE LEFT NAV */
.tree-item-self[data-path^='010 Faith MOC'],
.tree-item-self[data-path^='Filename'] {
  display: none;
}
  
/* HIDE FOLDERS IN THE LEFT NAV 
My test:*/

.tree-item-self:not([data-path^='010 Faith MOC']) {
	display: none;
}

See source: CSS tweaks for Obsidian Publish - Joschua’s Notes

# Further Reads


Origin: Set up your Obsidian for Bible Study - Joschua’s Notes
References: My Bible, The Bible