410 B
410 B
let nc = app.plugins.getPlugin('note-chain');
let cfile = nc.chain.current_note;
let files = nc.chain.get_links(cfile);
let data = files.map(
x=>dv.page(x.path)
).filter(x=>x);
dv.table(
["双链"],
data.map(x=>[x.file.path==cfile.path?'🏠':x.file.link])
);