Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ initLinkWithImage
Function
initLinkWithImage
static/js/bookstack.js:138–142 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
136
}
137
138
function
initLinkWithImage(){
139
$(
".markdown-body a img"
).each(
function
(){
140
$(this).after(
"<span class='btn btn-default btn-ilink btn-xs'><i class='fa fa-link'></i> 访问链接</span>"
)
141
})
142
}
143
144
var
events = $(
"body"
);
145
Callers
1
load_doc
Function · 0.85
Calls
1
$
Function · 0.50
Tested by
no test coverage detected