Commit graph

5 commits

Author SHA1 Message Date
Marty Oehme 9f1a7eb5ad
Fix link creation failing on empty text 2020-10-31 11:12:37 +01:00
Marty Oehme 320007e14b
Move anchor prepend function to anchor module 2020-10-31 11:05:30 +01:00
Marty Oehme 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
Marty Oehme aa3e1eb754
Refactor link cleaning and transformation functions 2020-10-30 18:21:04 +01:00
Marty Oehme cac9720d35
Refactor anchor and link functions into files 2020-10-30 16:30:37 +01:00