# An admittedly hacky approach to making your Obsidian vault Silverbullet-friendly

**URL:** <https://community.silverbullet.md/t/an-admittedly-hacky-approach-to-making-your-obsidian-vault-silverbullet-friendly/167>\
**Category:** Guides\
**Created:** [February 14, 2024, 3:44am UTC](https://community.silverbullet.md/t/an-admittedly-hacky-approach-to-making-your-obsidian-vault-silverbullet-friendly/167 "2024-02-14T03:44:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SONDLecT](https://community.silverbullet.md/user_avatar/community.silverbullet.md/sondlect/32/138_2.png) [@SONDLecT](https://community.silverbullet.md/u/SONDLecT)\
**Post date:** [February 14, 2024, 3:44am UTC](https://community.silverbullet.md/t/an-admittedly-hacky-approach-to-making-your-obsidian-vault-silverbullet-friendly/167/1 "2024-02-14T03:44:28Z")

</div>

If you’re coming from Obsidian and try to just drop your vault folder into your space, you’re going to have a bad time. I pulled together a set of scripts that are, I will fully admit, garbage code - but that can help wrangle your notes into SB format. In case it helps anyone else:  
[https://github.com/SONDLecT/Obsidian-to-Silverbullet-Conversion-Scripts/tree/main](https://github.com/SONDLecT/Obsidian-to-Silverbullet-Conversion-Scripts/tree/main)

Here’s a rundown of the problems and the scripts I developed to tackle them:

- **Wikilinks** : Obsidian’s wikilinks don’t include folder structure, leading to broken links in Silverbullet. The scripts modify links to include the full path.
- **Image Embeds** : Images in Obsidian are not automatically compatible with Silverbullet. The scripts adjust image links to the `[](relative location.ext)` format required by Silverbullet.
- **Embeds and Sections** : Silverbullet lacks Obsidian’s `!` embed feature. The scripts convert embeds to a compatible format and simplify section links to standard wikilinks.
- **Admonitions/Callouts** : Silverbullet only recognizes “note” and “warning” types with enhanced visibility. One script transforms any Obsidian callouts to a compatible format.
- **Dataview Queries** : Unsupported in Silverbullet, the scripts remove Dataview tables and inline references. Not an elegant solution, and probably not necessary.
- **Frontmatter Issues** : Picture this: you’re a big dumb idiot and for years you’ve been adding invalid frontmatter into your obsidian notes. You have hanging NULL properties. Indexing those notes breaks SB pretty considerably. This script will, rather than taking a scalpel to the problem, nuke your frontmatter from all your notes from 10,000 feet. It’s not an elegant solution, but it fixed my problem because _it turns out my frontmatter was garbage_.
- **Subdirectory Tags** : To leverage Silverbullet’s tagging system for organization, and because you’re an idiot like me and needed to nuke your frontmatter, there’s a script that generate tags based on a note’s subdirectory location.

---

<div class="post-metadata">

**Author:** ![whysofurious](https://community.silverbullet.md/user_avatar/community.silverbullet.md/whysofurious/32/118_2.png) [@whysofurious](https://community.silverbullet.md/u/whysofurious)\
**Post date:** [February 15, 2024, 5:00pm UTC](https://community.silverbullet.md/t/an-admittedly-hacky-approach-to-making-your-obsidian-vault-silverbullet-friendly/167/2 "2024-02-15T17:00:07Z")

</div>

The frontmatter thing hit me so hard when transitioning to SB that I am still recovering. Thank you for this btw, sounds very useful 🙂

---

<div class="post-metadata">

**Author:** ![SteveOC](https://community.silverbullet.md/letter_avatar_proxy/v4/letter/s/ecc23a/32.png) [@SteveOC](https://community.silverbullet.md/u/SteveOC)\
**Post date:** [October 14, 2024, 5:30pm UTC](https://community.silverbullet.md/t/an-admittedly-hacky-approach-to-making-your-obsidian-vault-silverbullet-friendly/167/3 "2024-10-14T17:30:57Z")

</div>

I’m curious about the frontmatter. Did you write the invalid frontmatter by mistake or is that an Obsidian caused problem?
