4 lines
124 B
Plaintext
4 lines
124 B
Plaintext
|
function ob-get-links -d "Get Obsidian links in file" -a filename
|
||
|
cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])'
|
||
|
end
|