Skip to content

Instantly share code, notes, and snippets.

@KarlClinckspoor
KarlClinckspoor / conversion.py
Last active January 27, 2023 00:58
Conversion tool to make Zettlr markdown files be visible in Graph Mode in Obsidian
# encoding=utf8
#
# The purpose of this script is to convert the internal links used by Zettlr into
# links recognized by Obsidian. I know Obsidian has a built-in converter, but it
# didn't work for my files, perhaps because of my custom ID format.
#
# Problem description
#
# Zettlr uses links in the form of [[ID]], and it then searches the files available
# to match this ID, and it often is in the filename. Obsidian is different, as it uses