[feat] tag-plugin: md
This commit is contained in:
parent
e301eb585a
commit
fc345c17b3
|
@ -12,7 +12,7 @@
|
|||
var md_index = 0
|
||||
|
||||
module.exports = ctx => function(args) {
|
||||
args = ctx.args.map(args, ['src'])
|
||||
args = ctx.args.map(args, [''], ['src'])
|
||||
const md_id = "md_" + ++md_index
|
||||
return `
|
||||
<div class="stellar-marked-api md-marked" src="${args.src}" id="${md_id}"></div>
|
||||
|
|
Loading…
Reference in New Issue