Editing / Editors

Data Editor

The Data Editor is a group of input fields. The inputs shown are dependent on your keys and values. See Inputs for a list of choices to tune the experience.

YAML, JSON and CSV files open in the Data Editor, most commonly in the _data directory (configurable in _config.yml as data_dir). The use cases for data files include: office locations, restaurant menus, staff members and opening hours.

/_data/staff.yml:

- name: George Phillips
  email: [email protected]
- name: Mike Neumegen
  email: [email protected]
- name: Ross Phillips
  email: [email protected]

/_data/staff.json:

[
  {
    "name": "George Phillips",
    "email": "[email protected]"
  },
  {
    "name": "Mike Neumegen",
    "email": "[email protected]"
  },
  {
    "name": "Ross Phillips",
    "email": "[email protected]"
  }
]

YAML/JSON interface

arrow_back

Editors / Front Matter

Read previous doc
arrow_forward

Interfaces / Editable Regions

Read next doc