Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

YAML Fieldtype

A code fieldtype in YAML mode that directly edits and stores YAML instead of an escaped string representation of said YAML.

YAML Fieldtype UI
The YAML Fieldtype in action!

Overview

This field is a code fieldtype that gets saved as YAML instead of a string. Your input is validated on save to make sure you don't write invalid YAML.

Hot Tip!

The YAML field is one of the "catch-all" solutions for when there's no better way to work with an odd data structure. Recommended for developers only.

Data Storage

You really should know YAML if you're using this field, in which case you'll understand how the data is stored – exactly as written.

Templating

Refer to the YAML guide on how to work with data in general. We really can't be any more specific here. You understand, right?

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →