| daysback | chartlength | location |
|---|---|---|
200 |
200 |
"Notes" |
const start = moment();
const daysback = parseInt(dv.current().daysback) || 2;
const location = dv.current().location || '';
| .theme-dark { | |
| --color-d-gray-10: hsla(192, 48%, 85%, 1); | |
| --color-d-gray-20: hsla(194, 39%, 74%, 1); | |
| --color-d-gray-30: hsla(194, 31%, 68%, 1); | |
| --color-d-gray-40: hsla(195, 27%, 55%, 1); | |
| --color-d-gray-50: hsla(194, 24%, 46%, 1); | |
| --color-d-gray-60: hsla(193, 27%, 33%, 1); | |
| --color-d-gray-70: hsla(191, 27%, 25%, 1); | |
| --color-d-gray-80: hsla(198, 22%, 19%, 1); | |
| --color-d-gray-90: hsla(193, 20%, 17%, 1); |
| ```dataviewjs | |
| const query = 'outgoing([[]]) AND #books'; | |
| const total = | |
| dv | |
| .pages(query) | |
| .filter(item => item | |
| .hasOwnProperty('pages')) | |
| .values | |
| .reduce((sum, item) => sum + item.pages, 0); |
| /* MIT License | Copyright (c) Stephan Ango (@kepano) | |
| Cards snippet for Obsidian | |
| author: @kepano | |
| version: 3.0.0 | |
| Support my work: | |
| https://github.com/sponsors/kepano |
| daysback | chartlength | location |
|---|---|---|
200 |
200 |
"Notes" |
const start = moment();
const daysback = parseInt(dv.current().daysback) || 2;
const location = dv.current().location || '';
| /* Coloured Folders | |
| A CSS snippet by WebInspectInc | |
| with inspiration from Lithou | |
| This snippet colors the folders in your sidebar based on your theme colors, | |
| with fallbacks in case your theme doesn't specify default colors | |
| This snippet has been modified to only affect only root folders | |
| */ | |
| :root{ | |
| /* folder colours */ |
| const dateformat = "YYYY-MM-DD"; | |
| const monthformat = "YYYY-MM"; | |
| const yearformat = "YYYY"; | |
| const days = parseInt(dv.current().days); | |
| const months = parseInt(dv.current().months); | |
| const years = parseInt(dv.current().years); | |
| const projectFolder = dv.current().projectfolder || ''; | |
| const graphColor = dv.current().lineColor || '#de454e'; | |
| const charts = []; |
| Field Name | Data Type | Description |
|---|---|---|
file.name |
Text | The file name as seen in Obsidians sidebar. |
file.folder |
Text | The path of the folder this file belongs to. |
file.path |
Text | The full file path, including the files name. |
file.ext |
Text | The extension of the file type; generally md. |
file.link |
Link | A link to the file. |
file.size |
Number | The size (in bytes) of the file. |
file.ctime |
Date with Time | The date that the file was created. |
file.cday |
Date | The date that the file was created. |
| ```dataviewjs | |
| // update path and minyear if needed | |
| const journalPath = 'Journal/Daily'; | |
| const minYear = 2012; | |
| const d = new Date(); | |
| const rangeOfYears = (start, end) => Array(end - start + 1) .fill(start).map((year, index) => year + index); | |
| const availableYears = rangeOfYears(minYear, d.getYear() + 1900); | |
| const month = ("0" + (d.getMonth() + 1)).slice(-2); |
| 0.0.0.0 widget.intercom.io | |
| 0.0.0.0 connect.facebook.net/en_US/sdk/xfbml.customerchat.js | |
| 0.0.0.0 assets.producthunt.com/assets/upwigloader.js | |
| 0.0.0.0 js.driftt.com | |
| 0.0.0.0 crisp.chat | |
| 0.0.0.0 intergram.xyz/js | |
| 0.0.0.0 widget.mfy.im | |
| 0.0.0.0 connect.podium.com | |
| 0.0.0.0 js.usemessages.com | |
| 0.0.0.0 static.getchipbot.com |
| 0.0.0.0 youtube.com | |
| 0.0.0.0 www.youtube.com |