-
Notifications
You must be signed in to change notification settings - Fork 45
Links
MeanderingProgrammer edited this page Feb 25, 2025
·
10 revisions
Raw data being used:
# Links
- 
- [Markdown File](test.md)
- [Python File](test.py)
- [Website](https://test.com)
- [[wikilink]]
- [[wikilink|Wikilink Alias]]
- [Reference][example]
- <[email protected]>
require('render-markdown').setup({
link = {
enabled = true,
render_modes = false,
footnote = {
superscript = true,
prefix = '',
suffix = '',
},
image = ' ',
email = ' ',
hyperlink = ' ',
highlight = 'RenderMarkdownLink',
wiki = {
icon = ' ',
body = function()
return nil
end,
highlight = 'RenderMarkdownWikiLink',
},
custom = {
web = { pattern = '^http', icon = ' ' },
discord = { pattern = 'discord%.com', icon = ' ' },
github = { pattern = 'github%.com', icon = ' ' },
gitlab = { pattern = 'gitlab%.com', icon = ' ' },
google = { pattern = 'google%.com', icon = ' ' },
neovim = { pattern = 'neovim%.io', icon = ' ' },
reddit = { pattern = 'reddit%.com', icon = ' ' },
stackoverflow = { pattern = 'stackoverflow%.com', icon = ' ' },
wikipedia = { pattern = 'wikipedia%.org', icon = ' ' },
youtube = { pattern = 'youtube%.com', icon = ' ' },
},
},
})
require('render-markdown').setup({
link = { image = ' ' },
})
require('render-markdown').setup({
link = { email = ' ' },
})
require('render-markdown').setup({
link = { hyperlink = ' ' },
})
require('render-markdown').setup({
link = {
custom = {
python = {
pattern = '%.py$',
icon = ' ',
},
},
},
})