空行・空白を取り除く
https://gyazo.com/44e34cf2451477300db71030b10f8bed
code: script.js
scrapbox.PopupMenu.addButton({
title: '空行・空白削除',
onClick: text => text.split(/\n/).filter(line => !line.match(/^\s*$/)).join('\n')
})
#UserScript