Obsidian Formatting

Format Obsidian notes with YAML frontmatter, Dataview queries, and Mapview blocks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/oskar-dragon/claude-code --skill obsidian-formatting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Obsidian Formatting
Source: https://github.com/oskar-dragon/claude-code/tree/main/plugins/obsidian-location-notes/skills/obsidian-formatting
Command: npx skills add https://github.com/oskar-dragon/claude-code --skill obsidian-formatting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill removes uncertainty and YAML errors when authoring Obsidian location notes, ensuring frontmatter, Dataview queries, Mapview blocks, and image embeds are formatted correctly so notes render and map reliably.

Core Features & Use Cases

  • Frontmatter validation: Rules for YAML structure, quoting wikilinks, boolean usage, arrays for tags and sources, and coordinate formatting.
  • Dataview guidance: Inline query patterns, functions (choice, default, string, startswith), and examples for image display and conditional content.
  • Mapview & images: Standard Mapview JSON block configuration, marker customization, and patterns for embedding images via wikilinks or URLs.
  • Use Case: Create a travel or location note that displays on a Mapview map, shows an embedded image, and exposes searchable metadata through Dataview.

Quick Start

Create a new Obsidian note with YAML frontmatter that quotes wikilinks, includes tags and Source as arrays, sets location as a two-number array [latitude, longitude], inserts a Mapview block for the current file, and ends with the standard Dataview image display query.

Frequently Asked Questions about Obsidian Formatting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format YAML frontmatter for Obsidian location notes?

To structure Obsidian YAML frontmatter, quote all wikilinks, format tags and sources as arrays, and define location coordinates as a two-number array [latitude, longitude] so Mapview blocks render correctly.

How do I configure Mapview blocks to display Obsidian notes on a map?

Configuring Mapview blocks involves inserting standard Mapview JSON into an Obsidian note, which reads the YAML location coordinates and displays the file as a customized marker on the map.

How do I write Dataview queries to display images in Obsidian notes?

Writing Dataview queries to display images involves using inline query patterns and functions like choice, default, and string to conditionally render image embeds via wikilinks or URLs within Obsidian notes.

Why does my Obsidian Mapview note fail to display correctly?

Mapview notes fail to render correctly when YAML frontmatter contains syntax errors, such as unquoted wikilinks, improperly formatted coordinate arrays, or missing Mapview JSON block configurations.

Can I use Dataview and Mapview plugins together in the same Obsidian vault?

Yes, you can use Dataview and Mapview together by structuring YAML frontmatter with valid coordinate arrays and tags, allowing Mapview to plot notes while Dataview queries expose searchable metadata.

What is the correct way to embed images in Obsidian notes using Dataview?

The correct way to embed images using Dataview is to apply standard inline query patterns that conditionally display image embeds via wikilinks or URLs based on your metadata fields.