internal note that acts as my writing inbox for clearing incomplete notes inside obsidian
Writing Inbox
TODOs
const pages = dv.pages().where(p => p.file.path !== dv.current().file.path)
for (const page of pages) {
const content = await dv.io.load(page.file.path)
if (content && content.includes("==todo==")) {
const lines = content.split('\n')
const todoLines = []
lines.forEach((line, index) => {
if (line.includes("==todo==")) {
todoLines.push(`${line.trim()}`)
}
})
if (todoLines.length > 0) {
dv.header(3, page.file.link)
dv.list(todoLines)
}
}
}PENDING
need to get to this someday
Transclude of pending.base
ACTIVE
needs active maintenance and clean up to become evergreen
Transclude of active.base
LOGS
logs which require updates
Transclude of logs.base
MOCs
maps of content to explore into
Transclude of moc.base