Skip to content
字数
22 字
阅读时间
1 分钟

<%*
let updateData = tp.file.last_modified_date("YYYY-MM-DD HH:mm:ss")
let newContent= tp.file.content.replace(/(modify:)([\s,\d,-,:]+)(.*)/, "modify: 2022-09-27 19:46:00
let file = this.app.workspace.activeLeaf.view.file
this.app.vault.modify(file, newContent)
%>

贡献者

The avatar of contributor named as jiechen jiechen

页面历史

撰写