[!themes] Topics
Evaluation Error: SyntaxError: Unexpected token '>'at DataviewInlineApi.eval (plugin:dataview:19027:21)
at evalInContext (plugin:dataview:19028:7)
at asyncEvalInContext (plugin:dataview:19038:32)
at DataviewJSRenderer.render (plugin:dataview:19064:19)
at DataviewJSRenderer.onload (plugin:dataview:18606:14)
at DataviewJSRenderer.load (app://obsidian.md/app.js:1:1182416)
at DataviewApi.executeJs (plugin:dataview:19607:18)
at DataviewCompiler.eval (plugin:digitalgarden:10763:23)
at Generator.next (<anonymous>)
at eval (plugin:digitalgarden:90:61)
I have thoughts and I like to organize them, and I also want to share them. There are a few reasons why I was drawn to this particular format:
Basically, not just knowing that imperfection adds value, but actually understanding through practice that I don't need to create perfect products to share them. Relatedly, subverting the idea that the content that I choose to share to the internet needs to be geared towards an audience or prepared "for" someone else to consume - I like the idea that the things that I choose to publish are for future me first and anyone else second.
const modules = await cJS()
const COLUMNS = [
{ id: "Name", value: page => page.$link },
{ id: "Last Modified", value: page => modules.dateTime.getLastMod(page) },
];
return function View() {
const current = dc.useCurrentFile();
// Selecting `#game` pages, for example.
let queryString = `@page and linksto(${current.$link})`;
let pages = dc.useQuery(queryString);
// check types
pages = pages.filter( (p) => !modules.typeCheck.checkAll(p, current) ).sort()
return <dc.Table columns={COLUMNS} rows={pages} paging={20}/>;
}
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>
}