Overview
Thedex notes command manages markdown-based editorial posts for Dex Notes, including creation, editing, building, and publishing.
Usage
Subcommands
List
List all markdown posts with metadata.Add
Create a new notes post draft.Post title
URL-friendly slug for the post
Edit
Edit a notes post in your default editor.Slug of the post to edit
Uses
$VISUAL or $EDITOR environment variable to determine which editor to launch.updated_at_iso field is automatically updated when you save.
Set
Set a specific frontmatter field value.Slug of the post to update
Frontmatter field name to set
New value for the field
Parse value as JSON instead of plain string
Build
Build the notes bundle from markdown sources.- Processes all markdown posts
- Generates HTML from markdown content
- Builds the notes bundle for deployment
Validate
Validate notes integrity and schema compliance.- Frontmatter schema compliance
- Required fields present
- Content integrity
Publish
Complete publish pipeline: build, sync, and validate.dex notes build- Build notes bundle- Sync runtime CSS
dex notes validate- Verify integrity
Examples
Create a new post
Edit a post
Update post metadata
Build and validate
Full publish workflow
Frontmatter Structure
Notes posts use JSON frontmatter with these required fields:Workflow
See Also
- dex catalog - Manage catalog content
- dex newsletter - Newsletter campaigns