10行以上書くと背景が黄色くなるScript
code:script.js
scrapbox.on("lines:changed", checkLines);
let pageBg = document.querySelector(".page");
function checkLines() {
if (window.scrapbox.Page.lines.length >= 12) {
pageBg.style.backgroundColor = "yellow";
} else {
pageBg.style.backgroundColor = "white";
}
}