[feat] tag-plugin: md

This commit is contained in:
xaoxuu 2024-01-11 23:48:39 +08:00
parent e301eb585a
commit fc345c17b3
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
var md_index = 0 var md_index = 0
module.exports = ctx => function(args) { module.exports = ctx => function(args) {
args = ctx.args.map(args, ['src']) args = ctx.args.map(args, [''], ['src'])
const md_id = "md_" + ++md_index const md_id = "md_" + ++md_index
return ` return `
<div class="stellar-marked-api md-marked" src="${args.src}" id="${md_id}"></div> <div class="stellar-marked-api md-marked" src="${args.src}" id="${md_id}"></div>