summaryrefslogtreecommitdiffstats
path: root/test/fixtures/SECTIONS.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/SECTIONS.md')
-rw-r--r--test/fixtures/SECTIONS.md68
1 files changed, 68 insertions, 0 deletions
diff --git a/test/fixtures/SECTIONS.md b/test/fixtures/SECTIONS.md
new file mode 100644
index 0000000..3405605
--- /dev/null
+++ b/test/fixtures/SECTIONS.md
@@ -0,0 +1,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);
+```