Add ob-get-links
This commit is contained in:
parent
d0ba4105b6
commit
a3eebec467
3
ob-get-links
Normal file
3
ob-get-links
Normal file
@ -0,0 +1,3 @@
|
||||
function ob-get-links -d "Get Obsidian links in file" -a filename
|
||||
cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])'
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user