-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ dg-publish: true | |
--- | ||
|
||
|
||
|
||
`=this.file.name` | ||
|
||
`= [[PD0 - note with summary]].summary` |
7 changes: 7 additions & 0 deletions
7
src/dg-testVault/P Plugins/PD Dataview/PD3 Inline JS queries.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
dg-publish: true | ||
--- | ||
|
||
`$=2+1` | ||
`$=dv.pages().length + dv.pages().length` | ||
`$=dv.paragraph("A paragraph")` |
20 changes: 20 additions & 0 deletions
20
src/dg-testVault/P Plugins/PD Dataview/PD4 DataviewJs queries.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
dg-publish: true | ||
--- | ||
```dataviewjs | ||
dv.header(2, 'Header 2'); | ||
let pg = dv.current().file.name; | ||
dv.paragraph(pg) | ||
``` | ||
|
||
```dataviewjs | ||
dv.table(["mtime", "link"], | ||
dv.pages() | ||
.where(p => p.file.name.includes("Custom")) | ||
.map(p => [ | ||
p.file.mtime, | ||
p.file.link | ||
]) | ||
) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters