534 lines
14 KiB
JSON
534 lines
14 KiB
JSON
{
|
|
"type": "root",
|
|
"children": [
|
|
{
|
|
"type": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--description--",
|
|
"position": {
|
|
"start": { "line": 1, "column": 3, "offset": 2 },
|
|
"end": { "line": 1, "column": 18, "offset": 17 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 1, "column": 1, "offset": 0 },
|
|
"end": { "line": 1, "column": 18, "offset": 17 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "Paragraph 1",
|
|
"position": {
|
|
"start": { "line": 3, "column": 1, "offset": 19 },
|
|
"end": { "line": 3, "column": 12, "offset": 30 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 3, "column": 1, "offset": 19 },
|
|
"end": { "line": 3, "column": 12, "offset": 30 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "html",
|
|
"meta": null,
|
|
"value": "code example",
|
|
"position": {
|
|
"start": { "line": 5, "column": 1, "offset": 32 },
|
|
"end": { "line": 7, "column": 4, "offset": 56 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--instructions--",
|
|
"position": {
|
|
"start": { "line": 9, "column": 3, "offset": 60 },
|
|
"end": { "line": 9, "column": 19, "offset": 76 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 9, "column": 1, "offset": 58 },
|
|
"end": { "line": 9, "column": 19, "offset": 76 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "Paragraph 0",
|
|
"position": {
|
|
"start": { "line": 11, "column": 1, "offset": 78 },
|
|
"end": { "line": 11, "column": 12, "offset": 89 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 11, "column": 1, "offset": 78 },
|
|
"end": { "line": 11, "column": 12, "offset": 89 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "html",
|
|
"meta": null,
|
|
"value": "code example 0",
|
|
"position": {
|
|
"start": { "line": 13, "column": 1, "offset": 91 },
|
|
"end": { "line": 15, "column": 4, "offset": 117 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--hints--",
|
|
"position": {
|
|
"start": { "line": 17, "column": 3, "offset": 121 },
|
|
"end": { "line": 17, "column": 12, "offset": 130 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 17, "column": 1, "offset": 119 },
|
|
"end": { "line": 17, "column": 12, "offset": 130 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "imageReference",
|
|
"identifier": "test-id-1",
|
|
"label": "test-id-1",
|
|
"referenceType": "shortcut",
|
|
"alt": "test-id-1",
|
|
"position": {
|
|
"start": { "line": 19, "column": 1, "offset": 132 },
|
|
"end": { "line": 19, "column": 13, "offset": 144 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 19, "column": 1, "offset": 132 },
|
|
"end": { "line": 19, "column": 13, "offset": 144 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "First hint",
|
|
"position": {
|
|
"start": { "line": 21, "column": 1, "offset": 146 },
|
|
"end": { "line": 21, "column": 11, "offset": 156 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 21, "column": 1, "offset": 146 },
|
|
"end": { "line": 21, "column": 11, "offset": 156 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "// test code",
|
|
"position": {
|
|
"start": { "line": 23, "column": 1, "offset": 158 },
|
|
"end": { "line": 25, "column": 4, "offset": 180 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "imageReference",
|
|
"identifier": "test-id-2",
|
|
"label": "test-id-2",
|
|
"referenceType": "shortcut",
|
|
"alt": "test-id-2",
|
|
"position": {
|
|
"start": { "line": 27, "column": 1, "offset": 182 },
|
|
"end": { "line": 27, "column": 13, "offset": 194 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 27, "column": 1, "offset": 182 },
|
|
"end": { "line": 27, "column": 13, "offset": 194 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "Second hint with ",
|
|
"position": {
|
|
"start": { "line": 29, "column": 1, "offset": 196 },
|
|
"end": { "line": 29, "column": 18, "offset": 213 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "html",
|
|
"value": "<code>",
|
|
"position": {
|
|
"start": { "line": 29, "column": 18, "offset": 213 },
|
|
"end": { "line": 29, "column": 24, "offset": 219 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "code",
|
|
"position": {
|
|
"start": { "line": 29, "column": 24, "offset": 219 },
|
|
"end": { "line": 29, "column": 28, "offset": 223 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "html",
|
|
"value": "</code>",
|
|
"position": {
|
|
"start": { "line": 29, "column": 28, "offset": 223 },
|
|
"end": { "line": 29, "column": 35, "offset": 230 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 29, "column": 1, "offset": 196 },
|
|
"end": { "line": 29, "column": 35, "offset": 230 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "// more test code",
|
|
"position": {
|
|
"start": { "line": 31, "column": 1, "offset": 232 },
|
|
"end": { "line": 33, "column": 4, "offset": 259 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "imageReference",
|
|
"identifier": "test-id-3",
|
|
"label": "test-id-3",
|
|
"referenceType": "shortcut",
|
|
"alt": "test-id-3",
|
|
"position": {
|
|
"start": { "line": 35, "column": 1, "offset": 261 },
|
|
"end": { "line": 35, "column": 13, "offset": 273 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 35, "column": 1, "offset": 261 },
|
|
"end": { "line": 35, "column": 13, "offset": 273 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "Third ",
|
|
"position": {
|
|
"start": { "line": 37, "column": 1, "offset": 275 },
|
|
"end": { "line": 37, "column": 7, "offset": 281 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "emphasis",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "hint",
|
|
"position": {
|
|
"start": { "line": 37, "column": 8, "offset": 282 },
|
|
"end": { "line": 37, "column": 12, "offset": 286 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 37, "column": 7, "offset": 281 },
|
|
"end": { "line": 37, "column": 13, "offset": 287 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": " with ",
|
|
"position": {
|
|
"start": { "line": 37, "column": 13, "offset": 287 },
|
|
"end": { "line": 37, "column": 19, "offset": 293 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "html",
|
|
"value": "<code>",
|
|
"position": {
|
|
"start": { "line": 37, "column": 19, "offset": 293 },
|
|
"end": { "line": 37, "column": 25, "offset": 299 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "code",
|
|
"position": {
|
|
"start": { "line": 37, "column": 25, "offset": 299 },
|
|
"end": { "line": 37, "column": 29, "offset": 303 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "html",
|
|
"value": "</code>",
|
|
"position": {
|
|
"start": { "line": 37, "column": 29, "offset": 303 },
|
|
"end": { "line": 37, "column": 36, "offset": 310 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": " and ",
|
|
"position": {
|
|
"start": { "line": 37, "column": 36, "offset": 310 },
|
|
"end": { "line": 37, "column": 41, "offset": 315 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "inlineCode",
|
|
"value": "inline code",
|
|
"position": {
|
|
"start": { "line": 37, "column": 41, "offset": 315 },
|
|
"end": { "line": 37, "column": 54, "offset": 328 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 37, "column": 1, "offset": 275 },
|
|
"end": { "line": 37, "column": 54, "offset": 328 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "// more test code\nif(let x of xs) {\n console.log(x);\n}",
|
|
"position": {
|
|
"start": { "line": 39, "column": 1, "offset": 330 },
|
|
"end": { "line": 44, "column": 4, "offset": 395 },
|
|
"indent": [1, 1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--seed--",
|
|
"position": {
|
|
"start": { "line": 46, "column": 3, "offset": 399 },
|
|
"end": { "line": 46, "column": 11, "offset": 407 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 46, "column": 1, "offset": 397 },
|
|
"end": { "line": 46, "column": 11, "offset": 407 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"depth": 2,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--seed-contents--",
|
|
"position": {
|
|
"start": { "line": 48, "column": 4, "offset": 412 },
|
|
"end": { "line": 48, "column": 20, "offset": 428 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 48, "column": 1, "offset": 409 },
|
|
"end": { "line": 48, "column": 20, "offset": 428 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "html",
|
|
"meta": null,
|
|
"value": "<html>\n <body>\n </body>\n</html>",
|
|
"position": {
|
|
"start": { "line": 50, "column": 1, "offset": 430 },
|
|
"end": { "line": 55, "column": 4, "offset": 475 },
|
|
"indent": [1, 1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "css",
|
|
"meta": null,
|
|
"value": "body {\n--fcc-editable-region--\n background: green;\n\n--fcc-editable-region--\n}",
|
|
"position": {
|
|
"start": { "line": 57, "column": 1, "offset": 477 },
|
|
"end": { "line": 64, "column": 4, "offset": 566 },
|
|
"indent": [1, 1, 1, 1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "var x = 'y';",
|
|
"position": {
|
|
"start": { "line": 66, "column": 1, "offset": 568 },
|
|
"end": { "line": 68, "column": 4, "offset": 590 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--solutions--",
|
|
"position": {
|
|
"start": { "line": 71, "column": 3, "offset": 595 },
|
|
"end": { "line": 71, "column": 15, "offset": 607 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 71, "column": 1, "offset": 593 },
|
|
"end": { "line": 71, "column": 15, "offset": 607 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "imageReference",
|
|
"identifier": "html-key",
|
|
"label": "html-key",
|
|
"referenceType": "shortcut",
|
|
"alt": "html-key",
|
|
"position": {
|
|
"start": { "line": 73, "column": 1, "offset": 609 },
|
|
"end": { "line": 73, "column": 12, "offset": 620 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 73, "column": 1, "offset": 609 },
|
|
"end": { "line": 73, "column": 12, "offset": 620 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "html",
|
|
"meta": null,
|
|
"value": "<html>\n <body>\n </body>\n</html>",
|
|
"position": {
|
|
"start": { "line": 75, "column": 1, "offset": 622 },
|
|
"end": { "line": 80, "column": 4, "offset": 667 },
|
|
"indent": [1, 1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "css",
|
|
"meta": null,
|
|
"value": "body {\n background: white;\n}",
|
|
"position": {
|
|
"start": { "line": 82, "column": 1, "offset": 669 },
|
|
"end": { "line": 86, "column": 4, "offset": 709 },
|
|
"indent": [1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "var x = 'y';\n``\n",
|
|
"position": {
|
|
"start": { "line": 88, "column": 1, "offset": 711 },
|
|
"end": { "line": 91, "column": 1, "offset": 733 },
|
|
"indent": [1, 1, 1]
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 1, "column": 1, "offset": 0 },
|
|
"end": { "line": 91, "column": 1, "offset": 733 }
|
|
}
|
|
}
|