-
Notifications
You must be signed in to change notification settings - Fork 61
Links
MeanderingProgrammer edited this page Dec 3, 2024
·
11 revisions
Raw data being used:
# Links
- 
- [Markdown File](test.md)
- [Python File](test.py)
- [Website](https://test.com)
- [[wikilink]]
- [[wikilink|Uncyclolink Alias]]
- [Reference][example]
- <[email protected]>
require('render-markdown').setup({
link = {
enabled = true,
footnote = {
superscript = true,
prefix = '',
suffix = '',
},
image = ' ',
email = ' ',
hyperlink = ' ',
highlight = 'RenderMarkdownLink',
wiki = { icon = ' ', highlight = 'RenderMarkdownUncycloLink' },
custom = {
web = { pattern = '^http', icon = ' ' },
youtube = { pattern = 'youtube%.com', icon = ' ' },
github = { pattern = 'github%.com', icon = ' ' },
neovim = { pattern = 'neovim%.io', icon = ' ' },
stackoverflow = { pattern = 'stackoverflow%.com', icon = ' ' },
discord = { pattern = 'discord%.com', icon = ' ' },
reddit = { pattern = 'reddit%.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 = ' ' },
},
},
})