Twigonometry / writeup-converter

Script for grabbing markdown files and Obsidian attachments from one folder and copying them to another.
26 stars 1 forks source link

Only convert links that are part of current obsidian file #13

Open Twigonometry opened 3 years ago

Twigonometry commented 3 years ago

Might be worth checking target of link against the filenames array, or checking if a [[x#y]] link has a corresponding # y in the document

Any that don't match this criteria should be either:

Twigonometry commented 3 years ago

Should be included if either x or y are in the document, not just y