File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ <h2 class="section-heading">Build in Markdown</h2>
2828 < code > @action</ code >
2929 open a file, set/insert text</ li >
3030 < br >
31+ < li >
32+ < code > ::> </ code >
33+ set cursor position</ li >
34+ < br >
3135 < li >
3236 < code > @hint</ code >
3337 add helpful clues</ li >
@@ -66,8 +70,7 @@ <h2 class="section-heading">Build in Markdown</h2>
6670```
6771// return true if student name matches "Ada Lovelace"
6872function isAda() {
69- // write condition here
70-
73+ ::>
7174}
7275```
7376))
Original file line number Diff line number Diff line change @@ -118,6 +118,21 @@ Add text to the bottom of the active text editor.
118118```))
119119```
120120
121+ #### ::>
122+
123+ Set the cursor position.
124+
125+ ``` markdown
126+ @action(insert(```
127+ function example() {
128+ ::>
129+ }
130+ ```
131+ ))
132+ ```
133+
134+ The cursor position will be set to the last use of `::>`.
135+
121136### `@onPageComplete`
122137
123138An optional message that will appear when all of the tasks for a page are completed.
You can’t perform that action at this time.
0 commit comments