Please use this snippet instead.
This file contains hidden or 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
/* | |
This DataviewJS View helps to add functionality to a Dataview Table. | |
THIS IS A BETA RELEASE - there are bugs and its not feature-complete | |
Version: v0.6.0 | |
Given a Dataview Query, this view will | |
- Execute the query | |
- Extract the headers/columns of the result | |
- Render filters to adjust the Dataview table results | |
- Render the table results, filtering and re-rendering on filter changes |
This file contains hidden or 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
let pages = dv.pages('#daylog'); | |
// Loop through pages | |
for (let p of pages) { | |
let noteText = await dv.io.load(p.file.path); | |
// define headers to look for | |
const headers = ["π§ Personal", "π» Work"]; | |
headers.map((header) => { |
This file contains hidden or 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
.card-view { | |
--card-width:35em; /*adjust this size if you want narrower or wider cards*/ | |
/*unit has to be in em so that card background will scale along with your font | |
when you zoom in and out*/ | |
} | |
/*The Card*/ | |
.card-view .markdown-preview-section { | |
background-color: var(--background-primary); | |
margin: 3% auto; |
title | allDay | startTime | endTime | date |
---|---|---|---|---|
Pathologie Vorlesung |
false |
29700 |
35100 |
2022-04-05 |
[!info]+
- type:: Vorlesung
This file contains hidden or 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
/* Cards snippet for Obsidian | |
author: @kepano | |
Support my work: | |
https://github.com/sponsors/kepano | |
modified by @signynt for the Primary theme */ | |
:root { | |
--cards-min-width:180px; | |
--cards-max-width:1fr; | |
--cards-mobile-width:120px; |
This file contains hidden or 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
/* Obsidian snippet to style output of pdf exports | |
*/ | |
@media print { | |
/* set your preferred fonts here. | |
*/ | |
:root { | |
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; |
NewerOlder