972845505f
Add new link functionality
...
`link.new` will create a correctly formatted to link for a zettel which
does *not exist* yet, by adding its own anchor.
2020-10-31 11:37:55 +01:00
9f1a7eb5ad
Fix link creation failing on empty text
2020-10-31 11:12:37 +01:00
320007e14b
Move anchor prepend function to anchor module
2020-10-31 11:05:30 +01:00
78a1948545
Add link formatting function
...
Function takes an anchor (and optional link text and formatting style)
and transforms the input into a link to an anchor id.
Currently works for markdown and wikilink style link transforms.
2020-10-30 18:44:50 +01:00
aa3e1eb754
Refactor link cleaning and transformation functions
2020-10-30 18:21:04 +01:00
cac9720d35
Refactor anchor and link functions into files
2020-10-30 16:30:37 +01:00