Closed greyHairChooseLife closed 3 months ago
What kind of link are you referring to?
Is it the standard markdown link syntax: [link](https://example.com)
, and you want to be able to set a different icon based on the value looking like a URL?
I'm confused on what part of this is related to Vimwiki
.
Feature added here: https://github.com/MeanderingProgrammer/markdown.nvim/commit/d5b57b32397c0be1f511f4cdf2b876c5b1f01144
Uses lua patterns.
@MeanderingProgrammer Thank you so much, and I apologize for any confusion.
You've managed to address my issue even though I didn't clearly explain what I was asking for.
I've just applied the changes to my config, and I'm really pleased with the result. Here's a screenshot of how it looks:
What kind of link are you referring to?
Is it the standard markdown link syntax:
[link](https://example.com)
, and you want to be able to set a different icon based on the value looking like a URL?I'm confused on what part of this is related to
Vimwiki
.
Sorry for the delayed response. I'm copying a part of the Vimwiki help doc, just in case.
Is your feature request related to a problem? Please describe.
I might be able to say it's a problem.
The Vimwiki users have different kinds of links. I, as a noob, use 2 of them. Links for another wiki(.md) and for a URL.
It would be great if we can select icons and highlight for each of them.
Describe the solution you'd like
Links can be identified with simple regex. They start with 'http' or 'file' or something like that.
Describe alternatives you've considered
I am 100% sure that above is simple solution!!
Additional information
No response