blairfrandeen / blog

Code for my website
0 stars 0 forks source link

Images in Obsidian Markdown format End up as failed links #21

Open blairfrandeen opened 1 year ago

blairfrandeen commented 1 year ago

Lazily pasting an image into obsidian gives the output of ![[image.png]]. Images tags need to be manually reformatted to include a caption, generally (![an image](image.png)).

Failing to reformat the image tags (perhaps if a caption is not wanted) causes get_internal_links() to find them. I think a simple regex fix would solve this.