・ᴗ・ 9 months ago let siteUrl = $derived.by(() => { const urlTag = note.tags.find( (tag) => tag[0] == "d" && tag.length > 1 )?.[1]; if (!urlTag) return; if (!urlTag?.startsWith("http")) { return `https://${urlTag}`; } });これでいい?
・ᴗ・ 9 months ago polltype: "singlechoice" または "multiplechoice" を指定します。polltypeを持たないポールは「単一選択」ポールになります。