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