Skip to content

Commit 9634e8f

Browse files
committed
Fix enumerations in DOC.md
1 parent eb84bb8 commit 9634e8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DOC.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ user-defined function:
240240
i(0)
241241
})
242242
```
243-
The first parameter of `f` is the function. Its parameters are
243+
The first parameter of `f` is the function. Its parameters are:
244+
244245
1. A table of the text of currently contained in the argnodes.
245246
(eg. `{{line1}, {line1, line2}}`). The snippet-indent will be removed from
246247
all lines following the first.
@@ -419,6 +420,7 @@ user-input.
419420

420421
The prototype for the dynamicNodes' constructor is
421422
`d(position:int, function, argnodes:table of nodes, user_args1, ..., user_argsn)`:
423+
422424
1. `position`: just like all jumpable nodes, when this node will be jumped into.
423425
2. `function`: `fn(args, parent, old_state, user_args1, ..., user_argsn) -> snippetNode`
424426
This function is called when the argnodes' text changes. It generates and

0 commit comments

Comments
 (0)