Skip to content

scribe.yaml Reference

FrameworkLocation
Hugodata/scribe.yaml
Astrosrc/data/scribe.yaml

scribe searches both locations automatically.

framework: hugo
categories:
- news
- review
- guide
- tutorial
authors:
- tor
- ola
edit_zones:
- path: content/posts
label: Blog posts
type: markdown
- path: content/pages
label: Pages
type: markdown
- path: data
label: Data files
type: data
shortcodes:
- name: youtube
label: YouTube Video
icon: player-play
fields:
- { name: id, label: Video ID, type: string }
- name: figure
label: Image with caption
icon: photo
fields:
- { name: src, label: Image URL, type: string }
- { name: alt, label: Alt text, type: string }
- { name: caption, label: Caption, type: string }
framework: astro
categories:
- news
- review
- guide
authors:
- tor
edit_zones:
- path: src/content/posts
label: Blog posts
type: markdown
- path: src/content/pages
label: Pages
type: markdown
- path: src/data
label: Data files
type: data
shortcodes: []
FieldRequiredDescription
frameworkYeshugo or astro
categoriesYesDropdown options in the editor
authorsYesDropdown options in the editor
edit_zonesYesWhich folders scribe can browse and edit
shortcodesNoHugo shortcodes. Set to [] for Astro
FieldValuesDescription
pathany folder pathRelative from repo root
labelany stringDisplay name in sidebar
typemarkdown or datamarkdown = full editor. data = YAML/JSON editor