You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api): Allow to insert links through API (#731)
* feat(api): Allow to insert links through API
To give plugins like Telescope-orgmode the ability to insert links, the
API needs an extension.
The refactoring moves some methods from org.mappings into modules, where
they should belong anyway, so they can be used from the new api method.
The new API method api.insert_link is mostly existing code moved from
org.mappings.insert_link, which now just calls api.insert_link.
* refactor: move link insertion into Hyperlinks
To have clean module dependencies, insert_link is now a method of
Hyperlinks and is exposed over the api but also called from mappings.
---------
Co-authored-by: Sebastian Flügge <sebastian.fluegge@dnv.com>
0 commit comments