generated at
GATHER HEADLINES

section-titleを拾ってくるUserScriptですsawachin

ScrapboxでKJ法がよりやりやすくなる
1Page内に情報を全部集めちゃう
事前に見出しに情報を圧縮しておく
GATHER HEADLINESにて、見出しだけ拾ってくる
KJ法やり放題!

使い方Image


script.js
scrapbox.PageMenu.addMenu({ title: 'GATHER HEADLINES', image: 'https://gyazo.com/65231e54577a31f8b0c5411f0aa0a814/raw', onClick: () => { var headlines = []; for (let line of scrapbox.Page.lines) { if (!line.section.start) continue var title = line.text //title = title.replace( /\[([^\[\]]+)\.icon\]/g,"($1)"); //title = title.replace( /\[([^\[\]]+)\]/g,"$1"); const headline = title headlines.push(headline) } if(navigator.clipboard){ navigator.clipboard. writeText(headlines.join('\n')); } } })