Commit graph

3 commits

Author SHA1 Message Date
Marty Oehme 44a985cce6
Add anchor extraction function
`anchor.extract(string, anchor)` will find and extract a zettel anchor
from any string passed in.

It can be given an optional anchor regex which will supersede any regex
set in the plugin options.
2020-11-06 15:53:01 +01:00
Marty Oehme 320007e14b
Move anchor prepend function to anchor module 2020-10-31 11:05:30 +01:00
Marty Oehme cac9720d35
Refactor anchor and link functions into files 2020-10-30 16:30:37 +01:00