Attempt to coax highlighting out of gfm
This commit is contained in:
parent
e106f195c6
commit
4ee225b9dd
|
@ -44,9 +44,10 @@ are needed at run-time:
|
|||
Finally, create the main program file. Create a directory `src`, and
|
||||
then a file `src/index.js`:
|
||||
|
||||
const { TimeLaterThan } = activate require("@syndicate-lang/driver-timer");
|
||||
```javascript
|
||||
const { TimeLaterThan } = activate require("@syndicate-lang/driver-timer");
|
||||
|
||||
spawn named 'ticker' {
|
||||
spawn named 'ticker' {
|
||||
field this.counter = 0;
|
||||
field this.deadline = +(new Date());
|
||||
|
||||
|
@ -60,7 +61,8 @@ then a file `src/index.js`:
|
|||
}
|
||||
|
||||
stop on (this.counter == 5);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Now, compile the project:
|
||||
|
||||
|
|
Loading…
Reference in New Issue