[[distillation-data]]I like to call my my note-taking system a digital garden because digital gardening is a squishy concept.
Under my definition of a digital garden, my system is one. I usually prefer to describe using characteristics rather than labels, but I use garden terminology because I like it; sometimes using a whimsical name adds a bit of whimsy.
Using “Zettelkasten” to describe my system would be equally valid since all definitions of Zettelkasten are speculative; I just prefer the fun of saying garden.
Topics
const fieldName = "theme"; // Your field with links const oldPrefix = "Thoughts/01 Themes/"; const newPrefix = "Digital Garden/Topics/"; const relatedLinks = dv.current()[fieldName]; if (Array.isArray(relatedLinks)) { // Map over the links, replace the path, and output only clickable links dv.el("span", relatedLinks .map(link => { if (link && link.path) { let newPath = link.path.startsWith(oldPrefix) ? link.path.replace(oldPrefix, newPrefix) : link.path; return dv.fileLink(newPath); } }) .filter(Boolean).join(", ") // Remove any undefined/null items ); } else { dv.el(dv.current().theme); }
References
Mentions
Mentions
TABLE FROM [[]] FLATTEN choice(contains(artist, this.file.link), 1, "") + choice(contains(author, this.file.link), 1, "") + choice(contains(director, this.file.link), 1, "") + choice(contains(source, this.file.link), 1, "") as direct_source WHERE !direct_source
const { dateTime } = await cJS()
return function View() {
const file = dc.useCurrentFile();
return <p class="dv-modified">Created {dateTime.getCreated(file)} ֍ Last Modified {dateTime.getLastMod(file)}</p>
}