mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
docs: fix alert block formatting and command path
This commit is contained in:
parent
f6a90dd26b
commit
8cead5a469
2 changed files with 16 additions and 6 deletions
|
|
@ -121,7 +121,9 @@ Environment Variables: Commands executed via `!` will set the `QWEN_CODE=1` envi
|
|||
|
||||
Save frequently used prompts as shortcut commands to improve work efficiency and ensure consistency.
|
||||
|
||||
> **Note:** Custom commands now use Markdown format with optional YAML frontmatter. TOML format is deprecated but still supported for backwards compatibility. When TOML files are detected, an automatic migration prompt will be displayed.
|
||||
> [!note]
|
||||
>
|
||||
> Custom commands now use Markdown format with optional YAML frontmatter. TOML format is deprecated but still supported for backwards compatibility. When TOML files are detected, an automatic migration prompt will be displayed.
|
||||
|
||||
### Quick Overview
|
||||
|
||||
|
|
@ -140,7 +142,7 @@ Priority Rules: Project commands > User commands (project command used when name
|
|||
| File Location | Generated Command | Example Call |
|
||||
| -------------------------- | ----------------- | --------------------- |
|
||||
| `~/.qwen/commands/test.md` | `/test` | `/test Parameter` |
|
||||
| `<project>/git/commit.md` | `/git:commit` | `/git:commit Message` |
|
||||
| `<project>/commands/git/commit.md` | `/git:commit` | `/git:commit Message` |
|
||||
|
||||
Naming Rules: Path separator (`/` or `\`) converted to colon (`:`)
|
||||
|
||||
|
|
@ -164,6 +166,8 @@ Use {{args}} for parameter injection.
|
|||
|
||||
### TOML File Format (Deprecated)
|
||||
|
||||
> [!warning]
|
||||
>
|
||||
> **Deprecated:** TOML format is still supported but will be removed in a future version. Please migrate to Markdown format.
|
||||
|
||||
| Field | Required | Description | Example |
|
||||
|
|
@ -225,8 +229,6 @@ Please generate a Commit message based on the following diff:
|
|||
```
|
||||
````
|
||||
|
||||
````
|
||||
|
||||
#### 4. File Content Injection (`@{...}`)
|
||||
|
||||
| File Type | Support Status | Processing Method |
|
||||
|
|
@ -246,7 +248,7 @@ description: Code review based on best practices
|
|||
Review {{args}}, reference standards:
|
||||
|
||||
@{docs/code-standards.md}
|
||||
````
|
||||
```
|
||||
|
||||
### Practical Creation Example
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue