You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/web/content/docs/concepts/annotations.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,3 +217,9 @@ The regular expressions also support flags The two most common are `g` for globa
217
217
You can also use [capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Capturing_group) (see [fold example](/docs/code/fold)):
218
218
219
219
<Demoname="annotations/groups" />
220
+
221
+
## Using start/end comments instead of ranges
222
+
223
+
Instead of counting lines for the range, you can use `!name(start)` and `!name(end)` comments to mark the block:
0 commit comments