Open jonathanhung opened 11 months ago
when using dataviewJS file.path, the paths are rendered as .md and never get updated.
const dataviewUtils = require(app.vault.adapter.basePath + "/999 Meta/050 Files/dataviewUtils.js"); const postTitles = dv.pages('"200 Posts"').file.name; const postPaths = dv.pages('"200 Posts"').file.path; function makeElement(path) { dv.el("a", "this is some text", { attr: { href: path } }); } postPaths.forEach(makeElement);
Returns a link to a markdown file:
Using dataview LIST gets correctly sluggified.
when using dataviewJS file.path, the paths are rendered as .md and never get updated.
Returns a link to a markdown file:![image](https://github.com/oleeskild/digitalgarden/assets/885187/5d7e92a5-43b5-4811-8924-c6c04547214b)
Using dataview LIST gets correctly sluggified.