Skip to content

Commit 89b07e8

Browse files
committed
fix: copy
1 parent 221127e commit 89b07e8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/customize/deep-dives/configuration.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ Example
6161
`config.ts` must export a `modifyConfig` function, like:
6262

6363
<Warning>
64-
The `slashCommands` array shown below is deprecated. For creating custom slash commands, use [prompt blocks or prompt files](./slash-commands) instead.
64+
The `slashCommands` array shown below is deprecated. For creating custom slash
65+
commands, use [prompt files](./slash-commands) instead.
6566
</Warning>
6667

6768
```ts title="config.ts"
@@ -86,4 +87,4 @@ export function modifyConfig(config: Config): Config {
8687
});
8788
return config;
8889
}
89-
```
90+
```

docs/customize/deep-dives/slash-commands.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Slash commands are shortcuts that can be activated by typing '/' in a chat sessi
1212
Slash commands can be combined with additional instructions, including [context providers](../custom-providers.mdx) or highlighted code.
1313

1414
<Note>
15-
**Recommended approach**: Use prompt blocks or prompt files to create slash
16-
commands instead of the deprecated `config.json` approach. The methods
17-
described below provide better flexibility and are the actively maintained
18-
ways to add custom commands.
15+
**Recommended approach**: Use prompt files to create slash commands instead of
16+
the deprecated `config.json` approach. The methods described below provide
17+
better flexibility and are the actively maintained ways to add custom
18+
commands.
1919
</Note>
2020

2121
## Prompts

0 commit comments

Comments
 (0)