|
|
|
---
|
|
|
|
location: [47.3639129,8.55627491017841]
|
|
|
|
CollapseMetaTable: true
|
|
|
|
key1:
|
|
|
|
name: "test key"
|
|
|
|
link: "[[Test Sheet 2]]"
|
|
|
|
desc:
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# 2nd Test sheet for snippets
|
|
|
|
|
|
|
|
(key2:: "test", "[[Test sheet]]", "this is the key desc")
|
|
|
|
|
|
|
|
### Auto card link
|
|
|
|
|
|
|
|
```cardlink
|
|
|
|
url: https://obsidian.md/
|
|
|
|
title: "Obsidian"
|
|
|
|
description: "Obsidian: A knowledge base that works on local Markdown files."
|
|
|
|
```
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
Key name: `= this.key1.name`
|
|
|
|
|
|
|
|
Key link: `= this.key1.link`
|
|
|
|
|
|
|
|
Key desc: `=this.key1.desc`
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
Key name: `= this.key2[0]`
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
```gallery
|
|
|
|
path=00.01 Admin/Pictures
|
|
|
|
imgWidth=100
|
|
|
|
divWidth=100
|
|
|
|
```
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
<mark style="background:grey">Lieux</mark>
|
|
|
|
<mark class="blue">Lieux</mark>
|
|
|
|
<mark style="background:green">Lieux</mark>
|
|
|
|
|
|
|
|
<p class="stickies";>
|
|
|
|
<b> COUNTDOWN <font color="#ff0000">EXAMS</font> </b></p>
|
|
|
|
|
|
|
|
> [!attention|right-small]
|
|
|
|
> Test
|
|
|
|
|
|
|
|
This is accompanying text on that floating situation.
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
### Checkboxes
|
|
|
|
|
|
|
|
- [ ] Unchecked `- [ ]`
|
|
|
|
|
|
|
|
- [x] Checked `- [x]`
|
|
|
|
|
|
|
|
- [>] Rescheduled `- [>]`
|
|
|
|
|
|
|
|
- [<] Scheduled `- [<]`
|
|
|
|
|
|
|
|
- [!] Important `- [!]`
|
|
|
|
|
|
|
|
- [-] Cancelled `- [-]`
|
|
|
|
|
|
|
|
- [/] In Progress `- [/]`
|
|
|
|
|
|
|
|
- [?] Question `- [?]`
|
|
|
|
|
|
|
|
- [*] Star `- [*]`
|
|
|
|
|
|
|
|
- [“] Quote `- ["]`
|
|
|
|
|
|
|
|
- [l] Location `- [l]`
|
|
|
|
|
|
|
|
- [i] Information `- [i]`
|
|
|
|
|
|
|
|
- [I] Idea `- [I]`
|
|
|
|
|
|
|
|
- [S] Amount `- [S]`
|
|
|
|
|
|
|
|
- [p] Pro `- [p]`
|
|
|
|
|
|
|
|
- [c] Con `- [c]`
|
|
|
|
|
|
|
|
- [b] Bookmark `- [b]`
|
|
|
|
|
|
|
|
- [f] Fire `- [ f ]`
|
|
|
|
|
|
|
|
- [w] Win `- [w]`
|
|
|
|
|
|
|
|
- [k] Key `- [k]`
|
|
|
|
|
|
|
|
- [u] Up `- [u]`
|
|
|
|
|
|
|
|
- [d] down `- [d]`
|
|
|
|
|
|
|
|
- [F] Feature `- [F]`
|
|
|
|
|
|
|
|
- [r] Rule `- [r]`
|
|
|
|
|
|
|
|
- [m] Measurement `- [m]`
|
|
|
|
|
|
|
|
- [M] Medical `- [M]`
|
|
|
|
|
|
|
|
- [L] Language `- [L]`
|
|
|
|
|
|
|
|
- [t] Clock `- [t]`
|
|
|
|
|
|
|
|
- [T] Telephone `- [T]`
|
|
|
|
|
|
|
|
- [P] Person `- [P]`
|
|
|
|
|
|
|
|
- [#] Tags `- [#]`
|
|
|
|
|
|
|
|
- [W] World `- [W]`
|
|
|
|
|
|
|
|
- [U] Universe `- [U]`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
```dataviewjs
|
|
|
|
const header = '### 🗒 Notes'
|
|
|
|
const pages = dv.pages('"00.01 Admin/Calendars"')
|
|
|
|
const regex = new RegExp(`\n${header}\r?\n(.*?)(\n#+ |\n---|$)`, 's')
|
|
|
|
|
|
|
|
for (const page of pages) {
|
|
|
|
const file = app.vault.getAbstractFileByPath(page.file.path)
|
|
|
|
const contents = await app.vault.read(file)
|
|
|
|
const summary = contents.match(regex)
|
|
|
|
if (summary) {
|
|
|
|
dv.header(2, file.basename)
|
|
|
|
dv.paragraph(summary[1].trim())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
 
|
|
|
|
|
|
|
|
Tag: ["💿"]
|
|
|
|
Date: <% tp.date.now("YYYY-MM-DD") %>
|
|
|
|
DocType: "Source"
|
|
|
|
Hierarchy: "NonRoot"
|
|
|
|
TimeStamp:
|
|
|
|
location:
|
|
|
|
Source:
|
|
|
|
Type: "Music"
|
|
|
|
Title:
|
|
|
|
Author:
|
|
|
|
Language:
|
|
|
|
Published:
|
|
|
|
Link:
|
|
|
|
Cover:
|
|
|
|
Style:
|
|
|
|
Country:
|
|
|
|
Price:
|
|
|
|
Bought:
|
|
|
|
CollapseMetaTable: true
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Parent::
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
```button
|
|
|
|
name Edit Source parameters
|
|
|
|
type command
|
|
|
|
action MetaEdit: Run MetaEdit
|
|
|
|
id EditMetaData
|
|
|
|
```
|
|
|
|
^button-<% tp.file.title %>Edit
|
|
|
|
|
|
|
|
```button
|
|
|
|
name Save
|
|
|
|
type command
|
|
|
|
action Save current file
|
|
|
|
id Save
|
|
|
|
```
|
|
|
|
^button-TN<% tp.file.title %>Save
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
# <% tp.file.title %>
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
> [!summary]+
|
|
|
|
>
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
```toc
|
|
|
|
style: number
|
|
|
|
```
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
### Cover
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
```dataviewjs
|
|
|
|
dv.el("span", "![](" + dv.current().Source.Cover + ")")
|
|
|
|
```
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
### Notes
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
Loret ipsum
|
|
|
|
|
|
|
|
 
|
|
|
|
 
|