mirror of
https://github.com/fmhy/edit.git
synced 2026-02-01 12:51:02 +00:00
@@ -34,7 +34,7 @@ export function replaceNoteLink(md: MarkdownRenderer) {
|
||||
|
||||
const rendered = md.render(content)
|
||||
const props = title ? `title="${title.replace(/"/g, '"')}"` : ''
|
||||
const footer = `<div class="mt-2 text-right opacity-50 text-xs"><a href="${href}">Source</a></div>`
|
||||
const footer = `<div class="mt-2 text-right opacity-50 text-xs"><a class="tooltip-source-link" href="${href}">Source</a></div>`
|
||||
tooltip.content = `<Tooltip ${props}>${rendered}${footer}</Tooltip>`
|
||||
|
||||
children.splice(i, j - i + 1, tooltip)
|
||||
|
||||
Reference in New Issue
Block a user