能不能做一个删除圆括号的
Closed this issue · 1 comments
skankhunt12138 commented
你的论文工具对我帮助很大。我注意到你开发了删除方括号引用的功能,请问能否开发删除圆括号引用的功能?谢谢
laorange commented
OK,已经加上了👌。
🤔但这个功能没有设置为默认开启,因为我个人感觉圆括号引用角标比较少见;如果保持开启,容易勿删序号。
deleteReferenceCurveBadge: {
description: "删除引用角标,如: (1), (2, 3), (4-7)",
activate: false,
executor: text => text.replaceAll(/\([\d,\-\s]+\)/g, ""),
}