DataviewJS Snippet Showcase

From a standpoint of code-reuse, I’d love to be able to write a few functions and call them up in both Templater and Dataview … One can dream, right?

Any technical difficulty to load Javascript from the file located somewhere in .Obsidian/?

Have you toughs about integrating standard DATAVIEW syntax for creation of the tables, and JS only for making variable that will be used in the table?

Also any technical difficulty to execute variables that are actually JS scripts functions, from standard Dataview Syntax?