Insert human-friendly link via completion #439
WhyNotHugo
started this conversation in
Ideas
Replies: 1 comment 7 replies
-
By "insert links" do you mean via lsp completion or via In any case, a markdown link requires And the link format options in the config file don't suffice / lead you to any preexisting solution? # MARKDOWN SETTINGS
[format.markdown]
# Format used to generate links between notes.
# Either "wiki", "markdown" or a custom template. Default is "markdown".
link-format = "markdown" |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Verify
Share your idea or feature request
When using markdown style links, the LSP will insert links in the style of:
It would make a lot more sense to use:
I.e.: put the page title in the visible part of the link, and the id as the link target.
Solution 1
Allow customising how links are generated by the LSP with a new
link_template
option. This is the most flexible, but might be an overkillSolution 2
Simply change the format used to the one proposed. Less flexible but it's a nicer experience, IMHO.
Beta Was this translation helpful? Give feedback.
All reactions