Introduction to YAML Frontmatter

YAML frontmatter is a metadata block added at the beginning of a Markdown file. It is widely supported by many static site generators (such as Jekyll, Hugo) and note-taking applications (such as Obsidian, Logseq).

Format Example

After enabling YAML frontmatter, the exported Markdown file will contain metadata at the top in the following format:

---
title: "ChatGPT Conversation Backup to Obsidian Vault"
url: <https://www.genspark.ai/agents?id=abc>
conversation_id: abc
source: genspark.ai
created: 2025-10-08T11:33:22.457877
updated: 2025-10-08T11:36:23.671728
---

# AI Machine Learning Basics

Here is the conversation content...

Metadata Field Descriptions

Advantages in Obsidian

1. Automatic Categorization

2. Enhanced Search

3. Graph Association