Skip to content

Commit 89bdffc

Browse files
dks333ethanpalm
andauthored
Update code.mdx
Co-authored-by: Ethan Palm <[email protected]>
1 parent f532139 commit 89bdffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ sayHello();
303303

304304
### Diff
305305

306-
Use `[!code ++]` and `[!code --]` to mark added and removed lines (add single line comments to the code). You can also mark multiple lines with a single comment, such as `[!code ++:3]` or `[!code --:5]`.
306+
Add single line comments with `[!code ++]` and `[!code --]` to mark added and removed lines. You can also mark multiple lines with a single comment, such as `[!code ++:3]` or `[!code --:5]`.
307307

308308
```js Diff Example icon="code" lines
309309
const greeting = "Hello, World!"; // [!code ++]

0 commit comments

Comments
 (0)