Skip to content

Commit 686af1e

Browse files
chore: update version and changelog
## Details Updates some metadata. Also updates main youtube pattern to be more generic.
1 parent 4eb9b76 commit 686af1e

5 files changed

Lines changed: 15 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@
88
- support anti-conceal ignore for inline latex [e6a5cf4](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/e6a5cf4edb228ebdab835252f1de19381ed41aa6)
99
- add priority to code background [#563](https://github.com/MeanderingProgrammer/render-markdown.nvim/pull/563)
1010
- add more default link icons [#565](https://github.com/MeanderingProgrammer/render-markdown.nvim/pull/565)
11+
- add more YouTube domains [#569](https://github.com/MeanderingProgrammer/render-markdown.nvim/pull/569)
1112

1213
### Bug Fixes
1314

1415
- handle double width glyph checkboxes [#553](https://github.com/MeanderingProgrammer/render-markdown.nvim/issues/553)
1516
[f58c05f](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/f58c05f349d6e7650f4b40b0df1514400f0c10de)
1617
- link icons following long checkboxes [#564](https://github.com/MeanderingProgrammer/render-markdown.nvim/issues/564)
1718
[b2b1353](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/b2b135347e299ffbf7f4123fb7811899b0c9f4b8)
19+
- reduce code background priority in nofile buffers [26097a4](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/26097a4eb95b391d0308c1b77cce89b28bbc9916)
20+
- ignore inline highlights that start or end in nested node [#568](https://github.com/MeanderingProgrammer/render-markdown.nvim/issues/568)
21+
[7a43c8b](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/7a43c8b444fa15b7736b34b248addb951126f723)
1822

1923
### Collaborator Shoutouts
2024

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,8 @@ require('render-markdown').setup({
833833
steam = { pattern = 'steampowered%.com', icon = '' },
834834
twitter = { pattern = 'x%.com', icon = '' },
835835
wikipedia = { pattern = 'wikipedia%.org', icon = '󰖬 ' },
836-
youtube = { pattern = 'youtube%.com', icon = '󰗃 ' },
836+
youtube = { pattern = 'youtube[^.]*%.com', icon = '󰗃 ' },
837+
youtube_short = { pattern = 'youtu%.be', icon = '󰗃 ' },
837838
},
838839
},
839840
sign = {
@@ -1599,7 +1600,8 @@ require('render-markdown').setup({
15991600
steam = { pattern = 'steampowered%.com', icon = '' },
16001601
twitter = { pattern = 'x%.com', icon = '' },
16011602
wikipedia = { pattern = 'wikipedia%.org', icon = '󰖬 ' },
1602-
youtube = { pattern = 'youtube%.com', icon = '󰗃 ' },
1603+
youtube = { pattern = 'youtube[^.]*%.com', icon = '󰗃 ' },
1604+
youtube_short = { pattern = 'youtu%.be', icon = '󰗃 ' },
16031605
},
16041606
},
16051607
})

doc/render-markdown.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*render-markdown.txt* For NVIM v0.11.5 Last change: 2025 December 14
1+
*render-markdown.txt* For NVIM v0.11.5 Last change: 2025 December 15
22

33
==============================================================================
44
Table of Contents *render-markdown-table-of-contents*
@@ -899,7 +899,8 @@ Default Configuration ~
899899
steam = { pattern = 'steampowered%.com', icon = ' ' },
900900
twitter = { pattern = 'x%.com', icon = ' ' },
901901
wikipedia = { pattern = 'wikipedia%.org', icon = '󰖬 ' },
902-
youtube = { pattern = 'youtube%.com', icon = '󰗃 ' },
902+
youtube = { pattern = 'youtube[^.]*%.com', icon = '󰗃 ' },
903+
youtube_short = { pattern = 'youtu%.be', icon = '󰗃 ' },
903904
},
904905
},
905906
sign = {
@@ -1645,7 +1646,8 @@ Link Configuration ~
16451646
steam = { pattern = 'steampowered%.com', icon = ' ' },
16461647
twitter = { pattern = 'x%.com', icon = ' ' },
16471648
wikipedia = { pattern = 'wikipedia%.org', icon = '󰖬 ' },
1648-
youtube = { pattern = 'youtube%.com', icon = '󰗃 ' },
1649+
youtube = { pattern = 'youtube[^.]*%.com', icon = '󰗃 ' },
1650+
youtube_short = { pattern = 'youtu%.be', icon = '󰗃 ' },
16491651
},
16501652
},
16511653
})

lua/render-markdown/health.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local state = require('render-markdown.state')
66
local M = {}
77

88
---@private
9-
M.version = '8.10.8'
9+
M.version = '8.10.9'
1010

1111
function M.check()
1212
M.start('versions')

lua/render-markdown/settings.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,8 +1302,7 @@ M.link.default = {
13021302
steam = { pattern = 'steampowered%.com', icon = '' },
13031303
twitter = { pattern = 'x%.com', icon = '' },
13041304
wikipedia = { pattern = 'wikipedia%.org', icon = '󰖬 ' },
1305-
youtube = { pattern = 'youtube%.com', icon = '󰗃 ' },
1306-
youtube_nocookie = { pattern = 'youtube-nocookie%.com', icon = '󰗃 ' },
1305+
youtube = { pattern = 'youtube[^.]*%.com', icon = '󰗃 ' },
13071306
youtube_short = { pattern = 'youtu%.be', icon = '󰗃 ' },
13081307
},
13091308
}

0 commit comments

Comments
 (0)