Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- aliases:
- tags: ['studytopic', 'toStudy']
- title: '{{title}}'
- date-created: {{date:YYYY-MM-DD}}
- date-modified: {{date:YYYY-MM-DD}}
- studytopic: '%{{title}}%'
- ---
- ##### Notes
- ```dataview
- LIST WITHOUT ID
- "- [b] " + link(file.name)
- FROM ""
- WHERE contains(studytopic, this.studytopic)
- AND file.name != this.file.name
- ```
- ##### Articles
- ```dataview
- LIST WITHOUT ID
- "- [b] **" + collection + "** " + link(file.name) + " [💬](" + sourceURL + ") <br>*(" + dateformat(file.ctime, "yyyy-MM-dd") + ")*" + " *" + type + "*"
- FROM
- "50 - Raindrop"
- WHERE
- contains(tags, this.studytopic)
- AND collection != "YouTube"
- AND done = "no"
- ```
- ##### Videos
- ```dataview
- LIST WITHOUT ID
- "- [b] **" + collection + "** " + link(file.name) + " [💬](" + sourceURL + ") <br>*(" + dateformat(file.ctime, "yyyy-MM-dd") + ")*" + " *" + type + "*"
- FROM
- "50 - Raindrop"
- WHERE
- contains(tags, this.studytopic)
- AND collection = "YouTube"
- AND done = "no"
- ```
- ##### Pdf
- ``` dataviewjs
- let pg = dv.current()
- let studytopic = pg.studytopic.replace(/[%]+/g,'');
- const allPdf = app.vault.getFiles().filter(file => file.extension == 'pdf' && file.path.includes(studytopic));
- let myList = allPdf.map(file => dv.fileLink(file.path));
- for (let line of myList) {
- dv.paragraph('- [b] ' + line);
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement