Merge branch 'main' of github.com:chaos-zhu/easynode

This commit is contained in:
chaos-zhu
2025-04-06 16:09:30 +08:00
+7
View File
@@ -150,6 +150,13 @@ const md = new MarkdownIt({
}
})
md.renderer.rules.link_open = function (tokens, idx, options, env, self) {
const token = tokens[idx]
token.attrSet('target', '_blank')
token.attrSet('rel', 'noopener noreferrer')
return self.renderToken(tokens, idx, options)
}
const { proxy: { $message, $store } } = getCurrentInstance()
const props = defineProps({