Skip to content

Commit 18cbc6c

Browse files
authored
fix: use sh fences for .ad scripts in replay-e2e docs (#436)
Shiki's default bundle has no `ad` grammar, so rspress build failed on three code fences in replay-e2e.md. Aligns them with the rest of the file, which already uses ```sh for .ad script content.
1 parent b0813ca commit 18cbc6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/docs/docs/replay-e2e.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ User-defined keys starting with `AD_` are rejected in `env`, `-e`, and shell imp
103103

104104
Substitution happens inside parsed string values. It does not create extra arguments, so quote selectors or text values that contain spaces:
105105

106-
```ad
106+
```sh
107107
env SETTINGS="label=Account || label=Profile"
108108
click "${SETTINGS}"
109109
```
@@ -139,15 +139,15 @@ AD_VAR_WAIT_SHORT=2000 agent-device replay ./flow.ad
139139

140140
Extract a reusable selector. Before:
141141

142-
```ad
142+
```sh
143143
click "label=Account || label=Profile || label=User"
144144
wait 500
145145
click "label=Account || label=Profile || label=User"
146146
```
147147

148148
After:
149149

150-
```ad
150+
```sh
151151
env SETTINGS="label=Account || label=Profile || label=User"
152152

153153
click "${SETTINGS}"

0 commit comments

Comments
 (0)