Skip to content

Commit 2a1f4c0

Browse files
authored
feat: add more default icons opts.link.custom (#565)
* feat: add more default icons `opts.link.custom` Added some icons for well-known companies that do have their logo available as nerdfont glyph. * fix: added linkedin default icon
1 parent 7358b0c commit 2a1f4c0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lua/render-markdown/settings.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,13 +1287,20 @@ M.link.default = {
12871287
-- | highlight | optional highlight for 'icon', uses fallback highlight if empty |
12881288
custom = {
12891289
web = { pattern = '^http', icon = '󰖟 ' },
1290+
apple = { pattern = "apple%.com", icon = "" },
12901291
discord = { pattern = 'discord%.com', icon = '󰙯 ' },
12911292
github = { pattern = 'github%.com', icon = '󰊤 ' },
12921293
gitlab = { pattern = 'gitlab%.com', icon = '󰮠 ' },
12931294
google = { pattern = 'google%.com', icon = '󰊭 ' },
1295+
hackernews = { pattern = "ycombinator%.com", icon = "" },
1296+
linkedin = { pattern = "linkedin%.com", icon = "󰌻 " },
1297+
microsoft = { pattern = "microsoft%.com", icon = "" },
12941298
neovim = { pattern = 'neovim%.io', icon = '' },
12951299
reddit = { pattern = 'reddit%.com', icon = '󰑍 ' },
1300+
slack = { pattern = "slack%.com", icon = "󰒱 " },
12961301
stackoverflow = { pattern = 'stackoverflow%.com', icon = '󰓌 ' },
1302+
steam = { pattern = "steampowered%.com", icon = "" },
1303+
twitter = { pattern = "x%.com", icon = "" },
12971304
wikipedia = { pattern = 'wikipedia%.org', icon = '󰖬 ' },
12981305
youtube = { pattern = 'youtube%.com', icon = '󰗃 ' },
12991306
},

0 commit comments

Comments
 (0)