Files
Main/7 People/Emanuel Perrig.md
Obsidian-MBPM4 e74ca8ec1e vault backup: 2025-09-08 09:11:41
Affected files:
Too many files to list
2025-09-08 09:11:41 +02:00

1.6 KiB

title, created_date, updated_date, aliases, tags, person, ref, person_type, person_hobbies
title created_date updated_date aliases tags person ref person_type person_hobbies
Emanuel Perrig 2024-10-04 2024-10-04
Emanuel
person
first_name last_name birthday type hobbies
Emanuel Perrig 1992-05-21 privat
tauchen
wein
person/emanuel_perrig
tauchen
wein

Emanuel Perrig

  • 🏷️Tags : #10-2024 #person

📝 Notes

Touchpoints

const pagesWithQuotes = await Promise.all( 
	dv 
	.pages("#person/emanuel_perrig") 
	.map(pageWithQuote => new Promise(async (resolve, reject) => {
		const content = await dv.io.load(pageWithQuote.file.path);
		resolve({ 
			link: pageWithQuote.file.link, 
			content 
		}); 
	})) 
); 

// Create an array of pages containing quotes, 
// where each page is: 
// { 
// quotes: [], // array of quotes 
// link: { path: '' } // Link 
// } 

const quotesByPage = pagesWithQuotes.map(({ 
	link, 
	content 
}) => ({ 
	link, 
	quotes: content 
		// Split into paragraphs 
		.split('- ') 
		
		// Get only paragraphs that have the #person/firstname_lastname tag
		.filter(content => content.includes('#person/emanuel_perrig')) 
		
		// Remove the "#person/firstname_lastname" tag from each quote string 
		.map(content => content.replace('#person/emanuel_perrig', '')) 
})); 
quotesByPage.forEach( 
	page => 
	page.quotes.forEach( 
		quote => dv.paragraph(`- ${quote} (${page.link})`) 
	) 
); 

Merken

Mag

Mag nicht

Aktuell Wichtige Themen

Familie und Freunde

Skills

Netzwerk

Geschenkideen

Sammlung

Zitate

Erinnerungen

Vergangene Themen

Mentions