Skip to content

Various python tools/scripts to work with Obsidian data

Notifications You must be signed in to change notification settings

dxcore35/obs_batch-linkr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Batch Obsidian Forward Linker

This script does the following:

  • Scans your vault location recursively for .md files and builds a list of note titles
  • Imports title aliases from aliases.yml in vault root
  • Add the links [[ ]] if the same keyword is also the name of some file in vault
  • All links are added in batch, all vault files will be interlinked via [[]]] in body text

Requirements

  • Python 3 + pip
  • PyYAML pip install pyyaml

Running

python obs-batch-linkr.py {path to obsidian vault root}

Aliases

You can use a file named aliases.yml in your vault root to broaden the title matching in your text to include aliases.

Notes

About

Various python tools/scripts to work with Obsidian data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%