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: "AI Machine Learning Basics"
date: 2025-01-08
url: <https://www.perplexity.ai/search/ai-ml-basics-abc123>
tags: ["perplexity", "ai", "machine-learning"]
uuid: abc123-def456-ghi789
model: pplx_pro
mode: copilot
---

# AI Machine Learning Basics

Here is the conversation content...

Metadata Field Descriptions

Advantages in Obsidian

1. Automatic Categorization

2. Enhanced Search