summaryrefslogtreecommitdiffstats
path: root/test/fixtures/SECTIONS.md
blob: 340560565843a9090c61d8e9fa53ea6a905e21cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Title

Some text

---

## NOT Exercise

Simple subsection NOT exercise

```
x = 1
```

What is this

```
y = [1, 2, 3]
```

```
z = {a: 1, b: 2}
```

---

## Exercise

Define a variable `x` equal to 10.

```js
var x =
```

```js
var x = 10;
```

```js
assert(x == 10);
```

```js
// This is context code available everywhere
// The user will be able to call magicFunc in his code
function magicFunc() {
    return 3;
}
```

---

## Another exercise

Bla bla bla ... This time with no `context` code.


```js
var x =
```

```js
var x = 10;
```

```js
assert(x == 10);
```