From e201a3ea5502f188680d1f896541557d853540a2 Mon Sep 17 00:00:00 2001 From: Abkari Mohammed Sayeem <169171880+Sayeem3051@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:52:32 +0530 Subject: [PATCH] Fix Prettier formatting - move colons outside bold markers Changed **Text:** to **Text**: throughout the file for Prettier compliance. Punctuation should be outside emphasis markers per Prettier markdown rules. --- docs/prompts.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/prompts.md b/docs/prompts.md index 7cc3d53f7f..0fc1340517 100644 --- a/docs/prompts.md +++ b/docs/prompts.md @@ -45,7 +45,7 @@ Custom prompts turn your repeatable instructions into reusable slash commands, s ### Example 1: Basic named arguments -**File:** `~/.codex/prompts/ticket.md` +**File**: `~/.codex/prompts/ticket.md` ```markdown --- @@ -55,23 +55,23 @@ argument-hint: TICKET_ID= TICKET_TITLE= Please write a concise commit message for ticket $TICKET_ID: $TICKET_TITLE ``` -**Usage:** +**Usage**: ``` /prompts:ticket TICKET_ID=JIRA-1234 TICKET_TITLE="Fix login bug" ``` -**Expanded prompt sent to Codex:** +**Expanded prompt sent to Codex**: ``` Please write a concise commit message for ticket JIRA-1234: Fix login bug ``` -**Note:** Both `TICKET_ID` and `TICKET_TITLE` are required. If either is missing, Codex will show a validation error. Values with spaces must be double-quoted. +**Note**: Both `TICKET_ID` and `TICKET_TITLE` are required. If either is missing, Codex will show a validation error. Values with spaces must be double-quoted. ### Example 2: Mixed positional and named arguments -**File:** `~/.codex/prompts/review.md` +**File**: `~/.codex/prompts/review.md` ```markdown --- @@ -81,13 +81,13 @@ argument-hint: FILE=<path> [FOCUS=<section>] Review the code in $FILE. Pay special attention to $FOCUS. ``` -**Usage:** +**Usage**: ``` /prompts:review FILE=src/auth.js FOCUS="error handling" ``` -**Expanded prompt:** +**Expanded prompt**: ``` Review the code in src/auth.js. Pay special attention to error handling.