Files
ysopwnable 4f25ee33dc docs(website): add worked guides and keep Pages publishing manual (#925)
* fix(pages): reserve publishing for the REA website

* docs(website): add worked guides and agent prompt examples

* ci(website): check relevant PRs and publish only on demand

* docs(website): clarify IDA coverage and analysis session lifetime
2026-10-07 18:40:11 +08:00

12 lines
255 B
JavaScript

function toCsv(notes) {
const quote = (value) => `"${String(value).replaceAll('"', '""')}"`;
return (
[
"id,title",
...notes.map((note) => `${note.id},${quote(note.title)}`),
].join("\n") + "\n"
);
}
module.exports = { toCsv };