File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
- *render-markdown.txt* For NVIM v0.11.2 Last change: 2025 June 10
1
+ *render-markdown.txt* For NVIM v0.11.2 Last change: 2025 June 11
2
2
3
3
==============================================================================
4
4
Table of Contents *render-markdown-table-of-contents*
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ local state = require('render-markdown.state')
5
5
local M = {}
6
6
7
7
--- @private
8
- M .version = ' 8.5.0 '
8
+ M .version = ' 8.5.1 '
9
9
10
10
function M .check ()
11
11
M .start (' version' )
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ function Render:setup()
27
27
autolink = true
28
28
elseif self .node .type == ' image' then
29
29
icon [1 ] = config .image
30
+ local destination = self .node :child (' link_destination' )
31
+ if destination then
32
+ self .context .config :set_link_text (destination .text , icon )
33
+ end
30
34
elseif self .node .type == ' inline_link' then
31
35
local destination = self .node :child (' link_destination' )
32
36
if destination then
You can’t perform that action at this time.
0 commit comments