503 lines
13 KiB
JSON
503 lines
13 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": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "// test code",
|
|
"position": {
|
|
"start": { "line": 21, "column": 1, "offset": 146 },
|
|
"end": { "line": 23, "column": 4, "offset": 168 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "First hint",
|
|
"position": {
|
|
"start": { "line": 25, "column": 1, "offset": 170 },
|
|
"end": { "line": 25, "column": 11, "offset": 180 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 25, "column": 1, "offset": 170 },
|
|
"end": { "line": 25, "column": 11, "offset": 180 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "Second hint with ",
|
|
"position": {
|
|
"start": { "line": 27, "column": 1, "offset": 182 },
|
|
"end": { "line": 27, "column": 18, "offset": 199 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "html",
|
|
"value": "<code>",
|
|
"position": {
|
|
"start": { "line": 27, "column": 18, "offset": 199 },
|
|
"end": { "line": 27, "column": 24, "offset": 205 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"value": "code",
|
|
"position": {
|
|
"start": { "line": 27, "column": 24, "offset": 205 },
|
|
"end": { "line": 27, "column": 28, "offset": 209 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "html",
|
|
"value": "</code>",
|
|
"position": {
|
|
"start": { "line": 27, "column": 28, "offset": 209 },
|
|
"end": { "line": 27, "column": 35, "offset": 216 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 27, "column": 1, "offset": 182 },
|
|
"end": { "line": 27, "column": 35, "offset": 216 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "imageReference",
|
|
"identifier": "test-id-2",
|
|
"label": "test-id-2",
|
|
"referenceType": "shortcut",
|
|
"alt": "test-id-2",
|
|
"position": {
|
|
"start": { "line": 29, "column": 1, "offset": 218 },
|
|
"end": { "line": 29, "column": 13, "offset": 230 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 29, "column": 1, "offset": 218 },
|
|
"end": { "line": 29, "column": 13, "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": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--seed--",
|
|
"position": {
|
|
"start": { "line": 40, "column": 3, "offset": 333 },
|
|
"end": { "line": 40, "column": 11, "offset": 341 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 40, "column": 1, "offset": 331 },
|
|
"end": { "line": 40, "column": 11, "offset": 341 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "html",
|
|
"meta": null,
|
|
"value": "<html>\n <body>\n </body>\n</html>",
|
|
"position": {
|
|
"start": { "line": 42, "column": 1, "offset": 343 },
|
|
"end": { "line": 47, "column": 4, "offset": 388 },
|
|
"indent": [1, 1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "css",
|
|
"meta": null,
|
|
"value": "body {\n background: green;\n}",
|
|
"position": {
|
|
"start": { "line": 49, "column": 1, "offset": 390 },
|
|
"end": { "line": 53, "column": 4, "offset": 430 },
|
|
"indent": [1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "var x = 'y';",
|
|
"position": {
|
|
"start": { "line": 55, "column": 1, "offset": 432 },
|
|
"end": { "line": 57, "column": 4, "offset": 454 },
|
|
"indent": [1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"depth": 1,
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "--solutions--",
|
|
"position": {
|
|
"start": { "line": 60, "column": 3, "offset": 459 },
|
|
"end": { "line": 60, "column": 15, "offset": 471 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 60, "column": 1, "offset": 457 },
|
|
"end": { "line": 60, "column": 15, "offset": 471 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "imageReference",
|
|
"identifier": "html-key",
|
|
"label": "html-key",
|
|
"referenceType": "shortcut",
|
|
"alt": "html-key",
|
|
"position": {
|
|
"start": { "line": 62, "column": 1, "offset": 473 },
|
|
"end": { "line": 62, "column": 12, "offset": 484 },
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 62, "column": 1, "offset": 473 },
|
|
"end": { "line": 62, "column": 12, "offset": 484 },
|
|
"indent": []
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "html",
|
|
"meta": null,
|
|
"value": "<html>\n <body>\n </body>\n</html>",
|
|
"position": {
|
|
"start": { "line": 64, "column": 1, "offset": 486 },
|
|
"end": { "line": 69, "column": 4, "offset": 531 },
|
|
"indent": [1, 1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "css",
|
|
"meta": null,
|
|
"value": "body {\n background: white;\n}",
|
|
"position": {
|
|
"start": { "line": 71, "column": 1, "offset": 533 },
|
|
"end": { "line": 75, "column": 4, "offset": 573 },
|
|
"indent": [1, 1, 1, 1]
|
|
}
|
|
},
|
|
{
|
|
"type": "code",
|
|
"lang": "js",
|
|
"meta": null,
|
|
"value": "var x = 'y';\n``\n",
|
|
"position": {
|
|
"start": { "line": 77, "column": 1, "offset": 575 },
|
|
"end": { "line": 80, "column": 1, "offset": 597 },
|
|
"indent": [1, 1, 1]
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": { "line": 1, "column": 1, "offset": 0 },
|
|
"end": { "line": 80, "column": 1, "offset": 597 }
|
|
}
|
|
}
|