@diplodoc/cli-tests 5.39.8 → 5.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,18 +4,9 @@ exports[`Includes > Various include scenarios > filelist 1`] = `
4
4
  "[
5
5
  ".yfm",
6
6
  "_assets/4.png",
7
- "includes/deep-include-hash.md",
8
- "includes/fragments-hash.md",
9
- "includes/nested-include-hash.md",
10
- "includes/no-title-include-hash.md",
11
- "includes/root-include-hash.md",
12
- "includes/user-hash.md",
13
7
  "index.md",
14
- "level1/includes/level1-include-hash.md",
15
- "level1/level2/includes/level2-include-hash.md",
16
8
  "level1/level2/page2.md",
17
9
  "level1/page1.md",
18
- "toc-include-hash.md",
19
10
  "toc-include.md",
20
11
  "toc.yaml"
21
12
  ]"
@@ -36,34 +27,56 @@ exports[`Includes > Various include scenarios > filelist 2`] = `
36
27
  exports[`Includes > Various include scenarios 1`] = `"projectTitle: Test Includes"`;
37
28
 
38
29
  exports[`Includes > Various include scenarios 2`] = `
39
- "# Deep nested include [→ index](../index.md) {#deep-nested-include}
40
-
41
- [Link to index](../index.md)
42
-
43
- [Link to level1 page1](../level1/page1.md)
30
+ "---
31
+ metadata:
32
+ - name: generator
33
+ content: Diplodoc Platform vDIPLODOC-VERSION
34
+ vcsPath: index.md
35
+ ---
36
+ # Test Includes
44
37
 
45
- [Link to level2 page2](../level1/level2/page2.md)
38
+ This is a test page for various include scenarios.
46
39
 
47
- This is a deep nested include.
40
+ ## Include from root level
48
41
 
49
- {% include [user](user-hash.md) %}
42
+ <!-- source: includes/root-include.md -->
43
+ This is an include from the root level.
50
44
 
51
- ![img 3](../_assets/4.png)"
52
- `;
45
+ [Link to level1](level1/page1.md)
53
46
 
54
- exports[`Includes > Various include scenarios 3`] = `
55
- "# Fragments for include
47
+ [Link to level2](level1/level2/page2.md)
56
48
 
57
- ## Section 1 {#section1}
49
+ [Link to index](index.md)
58
50
 
59
- This is content of section 1.
51
+ ## Include with anchor [→ level1](level1/page1.md) {#include-with-anchor}
60
52
 
53
+ <!-- source: includes/fragments.md -->
61
54
  ## Section 2 {#section2}
62
55
 
63
56
  This is content of section 2.
64
57
 
65
58
  ### Subsection 2.1 {#subsection21}
66
59
 
60
+ This is content of subsection 2.1.
61
+ <!-- endsource: includes/fragments.md -->
62
+ <!-- endsource: includes/root-include.md -->
63
+
64
+ ## Include from level1
65
+
66
+ <!-- source: level1/includes/level1-include.md -->
67
+ This is an include from level 1.
68
+
69
+ [Link to page1](level1/page1.md)
70
+
71
+ [Link to index](index.md)
72
+
73
+ [Link to level2](level1/level2/page2.md)
74
+
75
+ ## Include with anchor [→ root](index.md) {#include-with-anchor}
76
+
77
+ <!-- source: includes/fragments.md -->
78
+ ### Subsection 2.1 {#subsection21}
79
+
67
80
  This is content of subsection 2.1.
68
81
 
69
82
  ## Section 3 {#section3}
@@ -74,119 +87,155 @@ Some paragraph with anchor {#p1}
74
87
 
75
88
  Some paragraph without anchor
76
89
 
77
- Some paragraph with anchor {#p2}"
78
- `;
90
+ Some paragraph with anchor {#p2}
91
+ <!-- endsource: includes/fragments.md -->
92
+ <!-- endsource: level1/includes/level1-include.md -->
79
93
 
80
- exports[`Includes > Various include scenarios 4`] = `
81
- "# Nested include [→ index](../index.md) {#nested-include}
94
+ ## Include from level2
82
95
 
83
- This is a nested include.
96
+ <!-- source: level1/level2/includes/level2-include.md -->
97
+ This is an include from level 2.
84
98
 
85
- {% include [level1-include](../level1/includes/level1-include-hash.md) %}"
86
- `;
99
+ [Link to page2](level1/level2/page2.md)
87
100
 
88
- exports[`Includes > Various include scenarios 5`] = `
89
- "# Include without title [→ index](../index.md) {#include-without-title}
101
+ [Link to page1](level1/page1.md)
90
102
 
91
- [Link to index](../index.md)
103
+ [Link to index](index.md)
92
104
 
93
- This is a test for include without title.
105
+ ## Include with anchor [→ level1](level1/page1.md) {#include-with-anchor}
94
106
 
95
- ## Include without title from the same directory
107
+ <!-- source: includes/fragments.md -->
108
+ ## Section 3 {#section3}
96
109
 
97
- {% include notitle [user](user-hash.md) %}
110
+ This is content of section 3.
98
111
 
99
- ## Include without title with anchor
112
+ Some paragraph with anchor {#p1}
100
113
 
101
- {% include notitle [fragment](fragments-hash.md#section1) %}
114
+ Some paragraph without anchor
102
115
 
103
- ## Include without title with paragraph anchor
116
+ Some paragraph with anchor {#p2}
117
+ <!-- endsource: includes/fragments.md -->
118
+ <!-- endsource: level1/level2/includes/level2-include.md -->
104
119
 
105
- {% include notitle [fragment](fragments-hash.md#p1) %}
120
+ ## Include with missing file
106
121
 
107
- [Link to index](../index.md)"
108
- `;
122
+ <!-- {% include [missing](includes/missing.md) %} -->
109
123
 
110
- exports[`Includes > Various include scenarios 6`] = `
111
- "This is an include from the root level.
124
+ ## Include file that is in toc
112
125
 
113
- [Link to level1](../level1/page1.md)
126
+ [Link to toc-include](toc-include.md)
114
127
 
115
- [Link to level2](../level1/level2/page2.md)
128
+ <!-- source: toc-include.md -->
129
+ # Toc Include
116
130
 
117
- [Link to index](../index.md)
131
+ This file is included in the toc.
118
132
 
119
- ## Include with anchor [→ level1](../level1/page1.md) {#include-with-anchor}
133
+ [Link to index](index.md)
120
134
 
121
- {% include [fragment](fragments-hash.md#section2) %}"
122
- `;
135
+ [Link to page1](level1/page1.md)
123
136
 
124
- exports[`Includes > Various include scenarios 7`] = `
125
- "# User include [→ index](../index.md) {#user-include}
137
+ [Link to page2](level1/level2/page2.md)
126
138
 
127
- [Link to index](../index.md)
139
+ ## Include with anchor
128
140
 
129
- This is a user include with variable substitution: Alice"
130
- `;
141
+ <!-- source: includes/fragments.md -->
142
+ ## Section 1 {#section1}
131
143
 
132
- exports[`Includes > Various include scenarios 8`] = `
133
- "---
134
- metadata:
135
- - name: generator
136
- content: Diplodoc Platform vDIPLODOC-VERSION
137
- vcsPath: index.md
138
- ---
139
- # Test Includes
144
+ This is content of section 1.
145
+ <!-- endsource: includes/fragments.md -->
146
+ <!-- endsource: toc-include.md -->
140
147
 
141
- This is a test page for various include scenarios.
148
+ ## Links to different levels
142
149
 
143
- ## Include from root level
150
+ [Link to level1](level1/page1.md)
144
151
 
145
- {% include [root-include](includes/root-include-hash.md) %}
152
+ [Link to level2](level1/level2/page2.md)
146
153
 
147
- ## Include from level1
154
+ ## Include with anchor
148
155
 
149
- {% include [level1-include](level1/includes/level1-include-hash.md) %}
156
+ <!-- source: includes/fragments.md -->
157
+ ## Section 1 {#section1}
150
158
 
151
- ## Include from level2
159
+ This is content of section 1.
160
+ <!-- endsource: includes/fragments.md -->
152
161
 
153
- {% include [level2-include](level1/level2/includes/level2-include-hash.md) %}
162
+ ## Include with multiple anchors
154
163
 
155
- ## Include with missing file
164
+ <!-- source: includes/fragments.md -->
165
+ ## Section 2 {#section2}
156
166
 
157
- <!-- {% include [missing](includes/missing.md) %} -->
167
+ This is content of section 2.
158
168
 
159
- ## Include file that is in toc
169
+ ### Subsection 2.1 {#subsection21}
160
170
 
161
- [Link to toc-include](toc-include.md)
171
+ This is content of subsection 2.1.
172
+ <!-- endsource: includes/fragments.md -->
162
173
 
163
- {% include [toc-include](toc-include-hash.md) %}
174
+ ## Include with paragraph anchor
164
175
 
165
- ## Links to different levels
176
+ <!-- source: includes/fragments.md -->
177
+ Some paragraph with anchor {#p1}
178
+ <!-- endsource: includes/fragments.md -->
166
179
 
167
- [Link to level1](level1/page1.md)
180
+ ## Nested includes
181
+
182
+ <!-- source: includes/nested-include.md -->
183
+ # Nested include [→ index](index.md) {#nested-include}
184
+
185
+ This is a nested include.
186
+
187
+ <!-- source: level1/includes/level1-include.md -->
188
+ This is an include from level 1.
189
+
190
+ [Link to page1](level1/page1.md)
191
+
192
+ [Link to index](index.md)
168
193
 
169
194
  [Link to level2](level1/level2/page2.md)
170
195
 
171
- ## Include with anchor
196
+ ## Include with anchor [→ root](index.md) {#include-with-anchor}
172
197
 
173
- {% include [fragment](includes/fragments-hash.md#section1) %}
198
+ <!-- source: includes/fragments.md -->
199
+ ### Subsection 2.1 {#subsection21}
174
200
 
175
- ## Include with multiple anchors
201
+ This is content of subsection 2.1.
176
202
 
177
- {% include [fragment](includes/fragments-hash.md#section2) %}
203
+ ## Section 3 {#section3}
178
204
 
179
- ## Include with paragraph anchor
205
+ This is content of section 3.
180
206
 
181
- {% include [fragment](includes/fragments-hash.md#p1) %}
207
+ Some paragraph with anchor {#p1}
182
208
 
183
- ## Nested includes
209
+ Some paragraph without anchor
184
210
 
185
- {% include [nested](includes/nested-include-hash.md) %}
211
+ Some paragraph with anchor {#p2}
212
+ <!-- endsource: includes/fragments.md -->
213
+ <!-- endsource: level1/includes/level1-include.md -->
214
+ <!-- endsource: includes/nested-include.md -->
186
215
 
187
216
  ## Deep nested includes
188
217
 
189
- {% include [deep](includes/deep-include-hash.md) %}
218
+ <!-- source: includes/deep-include.md -->
219
+ # Deep nested include [→ index](index.md) {#deep-nested-include}
220
+
221
+ [Link to index](index.md)
222
+
223
+ [Link to level1 page1](level1/page1.md)
224
+
225
+ [Link to level2 page2](level1/level2/page2.md)
226
+
227
+ This is a deep nested include.
228
+
229
+ <!-- source: includes/user.md -->
230
+ # User include [→ index](index.md) {#user-include}
231
+
232
+ [Link to index](index.md)
233
+
234
+ This is a user include with variable substitution: Alice
235
+ <!-- endsource: includes/user.md -->
236
+
237
+ ![img 3](_assets/4.png)
238
+ <!-- endsource: includes/deep-include.md -->
190
239
 
191
240
  ## Commented includes
192
241
 
@@ -194,49 +243,83 @@ This is a test page for various include scenarios.
194
243
 
195
244
  ## Include with variable substitution
196
245
 
197
- {% include [user](includes/user-hash.md) %}
246
+ <!-- source: includes/user.md -->
247
+ # User include [→ index](index.md) {#user-include}
248
+
249
+ [Link to index](index.md)
250
+
251
+ This is a user include with variable substitution: Alice
252
+ <!-- endsource: includes/user.md -->
198
253
  ## Include without title
199
254
 
200
- {% include [no-title-include](includes/no-title-include-hash.md) %}
255
+ <!-- source: includes/no-title-include.md -->
256
+ # Include without title [→ index](index.md) {#include-without-title}
257
+
258
+ [Link to index](index.md)
259
+
260
+ This is a test for include without title.
261
+
262
+ ## Include without title from the same directory
263
+
264
+ <!-- source: includes/user.md -->
265
+ [Link to index](index.md)
266
+
267
+ This is a user include with variable substitution: Alice
268
+ <!-- endsource: includes/user.md -->
269
+
270
+ ## Include without title with anchor
271
+
272
+ <!-- source: includes/fragments.md -->
273
+ This is content of section 1.
274
+ <!-- endsource: includes/fragments.md -->
275
+
276
+ ## Include without title with paragraph anchor
277
+
278
+ <!-- source: includes/fragments.md -->
279
+ Some paragraph with anchor {#p1}
280
+ <!-- endsource: includes/fragments.md -->
281
+
282
+ [Link to index](index.md)
283
+ <!-- endsource: includes/no-title-include.md -->
201
284
 
202
285
  ## Include with anchor {#anchor}
203
286
 
204
287
  {% include notitle [anchor](#anchor) %}
205
288
  {% include [anchor](#anchor) %}
206
289
 
207
- {% include [no-title-include](includes/no-title-include-hash.md#anchor) %}
208
- "
209
- `;
210
-
211
- exports[`Includes > Various include scenarios 9`] = `
212
- "This is an include from level 1.
213
-
214
- [Link to page1](../page1.md)
290
+ <!-- source: includes/no-title-include.md -->
291
+ # Include without title [→ index](index.md) {#include-without-title}
215
292
 
216
- [Link to index](../../index.md)
293
+ [Link to index](index.md)
217
294
 
218
- [Link to level2](../level2/page2.md)
295
+ This is a test for include without title.
219
296
 
220
- ## Include with anchor [→ root](../../index.md) {#include-with-anchor}
297
+ ## Include without title from the same directory
221
298
 
222
- {% include [fragment](../../includes/fragments-hash.md#subsection21) %}"
223
- `;
299
+ <!-- source: includes/user.md -->
300
+ [Link to index](index.md)
224
301
 
225
- exports[`Includes > Various include scenarios 10`] = `
226
- "This is an include from level 2.
302
+ This is a user include with variable substitution: Alice
303
+ <!-- endsource: includes/user.md -->
227
304
 
228
- [Link to page2](../page2.md)
305
+ ## Include without title with anchor
229
306
 
230
- [Link to page1](../../page1.md)
307
+ <!-- source: includes/fragments.md -->
308
+ This is content of section 1.
309
+ <!-- endsource: includes/fragments.md -->
231
310
 
232
- [Link to index](../../../index.md)
311
+ ## Include without title with paragraph anchor
233
312
 
234
- ## Include with anchor [→ level1](../../page1.md) {#include-with-anchor}
313
+ <!-- source: includes/fragments.md -->
314
+ Some paragraph with anchor {#p1}
315
+ <!-- endsource: includes/fragments.md -->
235
316
 
236
- {% include [fragment](../../../includes/fragments-hash.md#section3) %}"
317
+ [Link to index](index.md)
318
+ <!-- endsource: includes/no-title-include.md -->
319
+ "
237
320
  `;
238
321
 
239
- exports[`Includes > Various include scenarios 11`] = `
322
+ exports[`Includes > Various include scenarios 3`] = `
240
323
  "---
241
324
  metadata:
242
325
  - name: generator
@@ -249,15 +332,83 @@ This is page 2 at level 2.
249
332
 
250
333
  ## Include from level2
251
334
 
252
- {% include [level2-include](includes/level2-include-hash.md) %}
335
+ <!-- source: level1/level2/includes/level2-include.md -->
336
+ This is an include from level 2.
337
+
338
+ [Link to page2](page2.md)
339
+
340
+ [Link to page1](../page1.md)
341
+
342
+ [Link to index](../../index.md)
343
+
344
+ ## Include with anchor [→ level1](../page1.md) {#include-with-anchor}
345
+
346
+ <!-- source: includes/fragments.md -->
347
+ ## Section 3 {#section3}
348
+
349
+ This is content of section 3.
350
+
351
+ Some paragraph with anchor {#p1}
352
+
353
+ Some paragraph without anchor
354
+
355
+ Some paragraph with anchor {#p2}
356
+ <!-- endsource: includes/fragments.md -->
357
+ <!-- endsource: level1/level2/includes/level2-include.md -->
253
358
 
254
359
  ## Include from level1
255
360
 
256
- {% include [level1-include](../includes/level1-include-hash.md) %}
361
+ <!-- source: level1/includes/level1-include.md -->
362
+ This is an include from level 1.
363
+
364
+ [Link to page1](../page1.md)
365
+
366
+ [Link to index](../../index.md)
367
+
368
+ [Link to level2](page2.md)
369
+
370
+ ## Include with anchor [→ root](../../index.md) {#include-with-anchor}
371
+
372
+ <!-- source: includes/fragments.md -->
373
+ ### Subsection 2.1 {#subsection21}
374
+
375
+ This is content of subsection 2.1.
376
+
377
+ ## Section 3 {#section3}
378
+
379
+ This is content of section 3.
380
+
381
+ Some paragraph with anchor {#p1}
382
+
383
+ Some paragraph without anchor
384
+
385
+ Some paragraph with anchor {#p2}
386
+ <!-- endsource: includes/fragments.md -->
387
+ <!-- endsource: level1/includes/level1-include.md -->
257
388
 
258
389
  ## Include from root
259
390
 
260
- {% include [root-include](../../includes/root-include-hash.md) %}
391
+ <!-- source: includes/root-include.md -->
392
+ This is an include from the root level.
393
+
394
+ [Link to level1](../page1.md)
395
+
396
+ [Link to level2](page2.md)
397
+
398
+ [Link to index](../../index.md)
399
+
400
+ ## Include with anchor [→ level1](../page1.md) {#include-with-anchor}
401
+
402
+ <!-- source: includes/fragments.md -->
403
+ ## Section 2 {#section2}
404
+
405
+ This is content of section 2.
406
+
407
+ ### Subsection 2.1 {#subsection21}
408
+
409
+ This is content of subsection 2.1.
410
+ <!-- endsource: includes/fragments.md -->
411
+ <!-- endsource: includes/root-include.md -->
261
412
 
262
413
  ## Links to different levels
263
414
 
@@ -267,14 +418,56 @@ This is page 2 at level 2.
267
418
 
268
419
  ## Nested include
269
420
 
270
- {% include [nested-include](../../includes/nested-include-hash.md) %}
421
+ <!-- source: includes/nested-include.md -->
422
+ # Nested include [→ index](../../index.md) {#nested-include}
423
+
424
+ This is a nested include.
425
+
426
+ <!-- source: level1/includes/level1-include.md -->
427
+ This is an include from level 1.
428
+
429
+ [Link to page1](../page1.md)
430
+
431
+ [Link to index](../../index.md)
432
+
433
+ [Link to level2](page2.md)
434
+
435
+ ## Include with anchor [→ root](../../index.md) {#include-with-anchor}
436
+
437
+ <!-- source: includes/fragments.md -->
438
+ ### Subsection 2.1 {#subsection21}
439
+
440
+ This is content of subsection 2.1.
441
+
442
+ ## Section 3 {#section3}
443
+
444
+ This is content of section 3.
445
+
446
+ Some paragraph with anchor {#p1}
447
+
448
+ Some paragraph without anchor
449
+
450
+ Some paragraph with anchor {#p2}
451
+ <!-- endsource: includes/fragments.md -->
452
+ <!-- endsource: level1/includes/level1-include.md -->
453
+ <!-- endsource: includes/nested-include.md -->
271
454
 
272
455
  ## Include with anchor
273
456
 
274
- {% include [fragment](../../includes/fragments-hash.md#section3) %}"
457
+ <!-- source: includes/fragments.md -->
458
+ ## Section 3 {#section3}
459
+
460
+ This is content of section 3.
461
+
462
+ Some paragraph with anchor {#p1}
463
+
464
+ Some paragraph without anchor
465
+
466
+ Some paragraph with anchor {#p2}
467
+ <!-- endsource: includes/fragments.md -->"
275
468
  `;
276
469
 
277
- exports[`Includes > Various include scenarios 12`] = `
470
+ exports[`Includes > Various include scenarios 4`] = `
278
471
  "---
279
472
  metadata:
280
473
  - name: generator
@@ -287,15 +480,83 @@ This is page 1 at level 1.
287
480
 
288
481
  ## Include from level1
289
482
 
290
- {% include [level1-include](includes/level1-include-hash.md) %}
483
+ <!-- source: level1/includes/level1-include.md -->
484
+ This is an include from level 1.
485
+
486
+ [Link to page1](page1.md)
487
+
488
+ [Link to index](../index.md)
489
+
490
+ [Link to level2](level2/page2.md)
491
+
492
+ ## Include with anchor [→ root](../index.md) {#include-with-anchor}
493
+
494
+ <!-- source: includes/fragments.md -->
495
+ ### Subsection 2.1 {#subsection21}
496
+
497
+ This is content of subsection 2.1.
498
+
499
+ ## Section 3 {#section3}
500
+
501
+ This is content of section 3.
502
+
503
+ Some paragraph with anchor {#p1}
504
+
505
+ Some paragraph without anchor
506
+
507
+ Some paragraph with anchor {#p2}
508
+ <!-- endsource: includes/fragments.md -->
509
+ <!-- endsource: level1/includes/level1-include.md -->
291
510
 
292
511
  ## Include from root
293
512
 
294
- {% include [root-include](../includes/root-include-hash.md) %}
513
+ <!-- source: includes/root-include.md -->
514
+ This is an include from the root level.
515
+
516
+ [Link to level1](page1.md)
517
+
518
+ [Link to level2](level2/page2.md)
519
+
520
+ [Link to index](../index.md)
521
+
522
+ ## Include with anchor [→ level1](page1.md) {#include-with-anchor}
523
+
524
+ <!-- source: includes/fragments.md -->
525
+ ## Section 2 {#section2}
526
+
527
+ This is content of section 2.
528
+
529
+ ### Subsection 2.1 {#subsection21}
530
+
531
+ This is content of subsection 2.1.
532
+ <!-- endsource: includes/fragments.md -->
533
+ <!-- endsource: includes/root-include.md -->
295
534
 
296
535
  ## Include from level2
297
536
 
298
- {% include [level2-include](level2/includes/level2-include-hash.md) %}
537
+ <!-- source: level1/level2/includes/level2-include.md -->
538
+ This is an include from level 2.
539
+
540
+ [Link to page2](level2/page2.md)
541
+
542
+ [Link to page1](page1.md)
543
+
544
+ [Link to index](../index.md)
545
+
546
+ ## Include with anchor [→ level1](page1.md) {#include-with-anchor}
547
+
548
+ <!-- source: includes/fragments.md -->
549
+ ## Section 3 {#section3}
550
+
551
+ This is content of section 3.
552
+
553
+ Some paragraph with anchor {#p1}
554
+
555
+ Some paragraph without anchor
556
+
557
+ Some paragraph with anchor {#p2}
558
+ <!-- endsource: includes/fragments.md -->
559
+ <!-- endsource: level1/level2/includes/level2-include.md -->
299
560
 
300
561
  ## Links to different levels
301
562
 
@@ -305,36 +566,60 @@ This is page 1 at level 1.
305
566
 
306
567
  ## Nested include
307
568
 
308
- {% include [nested-include](../includes/nested-include-hash.md) %}
569
+ <!-- source: includes/nested-include.md -->
570
+ # Nested include [→ index](../index.md) {#nested-include}
309
571
 
310
- ## Include with anchor
572
+ This is a nested include.
311
573
 
312
- {% include [fragment](../includes/fragments-hash.md#subsection21) %}"
313
- `;
574
+ <!-- source: level1/includes/level1-include.md -->
575
+ This is an include from level 1.
314
576
 
315
- exports[`Includes > Various include scenarios 13`] = `
316
- "---
317
- metadata:
318
- - name: generator
319
- content: Diplodoc Platform vDIPLODOC-VERSION
320
- vcsPath: toc-include.md
321
- ---
322
- # Toc Include
577
+ [Link to page1](page1.md)
323
578
 
324
- This file is included in the toc.
579
+ [Link to index](../index.md)
325
580
 
326
- [Link to index](index.md)
581
+ [Link to level2](level2/page2.md)
327
582
 
328
- [Link to page1](level1/page1.md)
583
+ ## Include with anchor [ root](../index.md) {#include-with-anchor}
329
584
 
330
- [Link to page2](level1/level2/page2.md)
585
+ <!-- source: includes/fragments.md -->
586
+ ### Subsection 2.1 {#subsection21}
587
+
588
+ This is content of subsection 2.1.
589
+
590
+ ## Section 3 {#section3}
591
+
592
+ This is content of section 3.
593
+
594
+ Some paragraph with anchor {#p1}
595
+
596
+ Some paragraph without anchor
597
+
598
+ Some paragraph with anchor {#p2}
599
+ <!-- endsource: includes/fragments.md -->
600
+ <!-- endsource: level1/includes/level1-include.md -->
601
+ <!-- endsource: includes/nested-include.md -->
331
602
 
332
603
  ## Include with anchor
333
604
 
334
- {% include [fragment](includes/fragments-hash.md#section1) %}"
605
+ <!-- source: includes/fragments.md -->
606
+ ### Subsection 2.1 {#subsection21}
607
+
608
+ This is content of subsection 2.1.
609
+
610
+ ## Section 3 {#section3}
611
+
612
+ This is content of section 3.
613
+
614
+ Some paragraph with anchor {#p1}
615
+
616
+ Some paragraph without anchor
617
+
618
+ Some paragraph with anchor {#p2}
619
+ <!-- endsource: includes/fragments.md -->"
335
620
  `;
336
621
 
337
- exports[`Includes > Various include scenarios 14`] = `
622
+ exports[`Includes > Various include scenarios 5`] = `
338
623
  "---
339
624
  metadata:
340
625
  - name: generator
@@ -353,10 +638,14 @@ This file is included in the toc.
353
638
 
354
639
  ## Include with anchor
355
640
 
356
- {% include [fragment](includes/fragments-hash.md#section1) %}"
641
+ <!-- source: includes/fragments.md -->
642
+ ## Section 1 {#section1}
643
+
644
+ This is content of section 1.
645
+ <!-- endsource: includes/fragments.md -->"
357
646
  `;
358
647
 
359
- exports[`Includes > Various include scenarios 15`] = `
648
+ exports[`Includes > Various include scenarios 6`] = `
360
649
  "items:
361
650
  - name: Test Includes
362
651
  href: index.md
@@ -374,9 +663,9 @@ path: toc.yaml
374
663
  "
375
664
  `;
376
665
 
377
- exports[`Includes > Various include scenarios 16`] = `"projectTitle: Test Includes"`;
666
+ exports[`Includes > Various include scenarios 7`] = `"projectTitle: Test Includes"`;
378
667
 
379
- exports[`Includes > Various include scenarios 17`] = `
668
+ exports[`Includes > Various include scenarios 8`] = `
380
669
  "<!DOCTYPE html>
381
670
  <html lang="ru" dir="ltr">
382
671
  <head>
@@ -390,7 +679,7 @@ exports[`Includes > Various include scenarios 17`] = `
390
679
  <body class="g-root g-root_theme_light">
391
680
  <div id="root"></div>
392
681
  <script type="application/json" id="diplodoc-state">
393
- {"data":{"leading":false,"html":"&lt;p&gt;This is a test page for various include scenarios.&lt;/p&gt;/n&lt;h2 id=\\"include-from-root-level\\"&gt;&lt;a href=\\"index.html#include-from-root-level\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from root level&lt;/span&gt;&lt;/a&gt;Include from root level&lt;/h2&gt;/n&lt;p&gt;This is an include from the root level.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n&lt;h2 id=\\"section2\\"&gt;&lt;a href=\\"index.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection21\\"&gt;&lt;a href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"include-from-level1\\"&gt;&lt;a href=\\"index.html#include-from-level1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level1&lt;/span&gt;&lt;/a&gt;Include from level1&lt;/h2&gt;/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor1\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n&lt;h3 id=\\"subsection211\\"&gt;&lt;a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section3\\"&gt;&lt;a href=\\"index.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-from-level2\\"&gt;&lt;a href=\\"index.html#include-from-level2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level2&lt;/span&gt;&lt;/a&gt;Include from level2&lt;/h2&gt;/n&lt;p&gt;This is an include from level 2.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor2\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n&lt;h2 id=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"index.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-with-missing-file\\"&gt;&lt;a href=\\"index.html#include-with-missing-file\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with missing file&lt;/span&gt;&lt;/a&gt;Include with missing file&lt;/h2&gt;/n/n&lt;h2 id=\\"include-file-that-is-in-toc\\"&gt;&lt;a href=\\"index.html#include-file-that-is-in-toc\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include file that is in toc&lt;/span&gt;&lt;/a&gt;Include file that is in toc&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"toc-include.html\\"&gt;Link to toc-include&lt;/a&gt;&lt;/p&gt;/n&lt;h1&gt;Toc Include&lt;/h1&gt;/n&lt;p&gt;This file is included in the toc.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor3\\"&gt;&lt;a href=\\"index.html#include-with-anchor3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;h2 id=\\"section1\\"&gt;&lt;a href=\\"index.html#section1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 1&lt;/span&gt;&lt;/a&gt;Section 1&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n&lt;h2 id=\\"links-to-different-levels\\"&gt;&lt;a href=\\"index.html#links-to-different-levels\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Links to different levels&lt;/span&gt;&lt;/a&gt;Links to different levels&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor4\\"&gt;&lt;a href=\\"index.html#include-with-anchor4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;h2 id=\\"section11\\"&gt;&lt;a id=\\"section1\\" href=\\"index.html#section1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 1&lt;/span&gt;&lt;/a&gt;Section 1&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n&lt;h2 id=\\"include-with-multiple-anchors\\"&gt;&lt;a href=\\"index.html#include-with-multiple-anchors\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with multiple anchors&lt;/span&gt;&lt;/a&gt;Include with multiple anchors&lt;/h2&gt;/n&lt;h2 id=\\"section21\\"&gt;&lt;a id=\\"section2\\" href=\\"index.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection212\\"&gt;&lt;a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"include-with-paragraph-anchor\\"&gt;&lt;a href=\\"index.html#include-with-paragraph-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with paragraph anchor&lt;/span&gt;&lt;/a&gt;Include with paragraph anchor&lt;/h2&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"nested-includes\\"&gt;&lt;a href=\\"index.html#nested-includes\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Nested includes&lt;/span&gt;&lt;/a&gt;Nested includes&lt;/h2&gt;/n&lt;h1 id=\\"nested-include\\"&gt;Nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;This is a nested include.&lt;/p&gt;/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor5\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n&lt;h3 id=\\"subsection213\\"&gt;&lt;a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section32\\"&gt;&lt;a id=\\"section3\\" href=\\"index.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"deep-nested-includes\\"&gt;&lt;a href=\\"index.html#deep-nested-includes\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Deep nested includes&lt;/span&gt;&lt;/a&gt;Deep nested includes&lt;/h2&gt;/n&lt;h1 id=\\"deep-nested-include\\"&gt;Deep nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1 page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2 page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a deep nested include.&lt;/p&gt;/n&lt;h1 id=\\"user-include\\"&gt;User include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n&lt;p&gt;&lt;img src=\\"_assets/4.png\\" alt=\\"img 3\\" /&gt;&lt;/p&gt;/n&lt;h2 id=\\"commented-includes\\"&gt;&lt;a href=\\"index.html#commented-includes\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Commented includes&lt;/span&gt;&lt;/a&gt;Commented includes&lt;/h2&gt;/n/n&lt;h2 id=\\"include-with-variable-substitution\\"&gt;&lt;a href=\\"index.html#include-with-variable-substitution\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with variable substitution&lt;/span&gt;&lt;/a&gt;Include with variable substitution&lt;/h2&gt;/n&lt;h1 id=\\"user-include\\"&gt;User include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n&lt;h2 id=\\"include-without-title\\"&gt;&lt;a href=\\"index.html#include-without-title\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title&lt;/span&gt;&lt;/a&gt;Include without title&lt;/h2&gt;/n&lt;h1 id=\\"include-without-title\\"&gt;Include without title &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a test for include without title.&lt;/p&gt;/n&lt;h2 id=\\"include-without-title-from-the-same-directory\\"&gt;&lt;a href=\\"index.html#include-without-title-from-the-same-directory\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title from the same directory&lt;/span&gt;&lt;/a&gt;Include without title from the same directory&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n&lt;h2 id=\\"include-without-title-with-anchor\\"&gt;&lt;a href=\\"index.html#include-without-title-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title with anchor&lt;/span&gt;&lt;/a&gt;Include without title with anchor&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n&lt;h2 id=\\"include-without-title-with-paragraph-anchor\\"&gt;&lt;a href=\\"index.html#include-without-title-with-paragraph-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title with paragraph anchor&lt;/span&gt;&lt;/a&gt;Include without title with paragraph anchor&lt;/h2&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"anchor\\"&gt;&lt;a href=\\"index.html#anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;p&gt;{% include notitle &lt;a href=\\"index.html#anchor\\"&gt;anchor&lt;/a&gt; %}&lt;br /&gt;/n{% include &lt;a href=\\"index.html#anchor\\"&gt;anchor&lt;/a&gt; %}&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.md"},"headings":[{"title":"Include from root level","href":"index.html#include-from-root-level","level":2},{"title":"Include with anchor → level1","href":"index.html#include-with-anchor","level":2},{"title":"Section 2","href":"index.html#section2","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection21","level":3}]},{"title":"Include from level1","href":"index.html#include-from-level1","level":2},{"title":"Include with anchor → root","href":"index.html#include-with-anchor1","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection211","level":3}]},{"title":"Section 3","href":"index.html#section3","level":2},{"title":"Include from level2","href":"index.html#include-from-level2","level":2},{"title":"Include with anchor → level1","href":"index.html#include-with-anchor2","level":2},{"title":"Section 3","href":"index.html#section31","level":2},{"title":"Include with missing file","href":"index.html#include-with-missing-file","level":2},{"title":"Include file that is in toc","href":"index.html#include-file-that-is-in-toc","level":2},{"title":"Include with anchor","href":"index.html#include-with-anchor3","level":2},{"title":"Section 1","href":"index.html#section1","level":2},{"title":"Links to different levels","href":"index.html#links-to-different-levels","level":2},{"title":"Include with anchor","href":"index.html#include-with-anchor4","level":2},{"title":"Section 1","href":"index.html#section11","level":2},{"title":"Include with multiple anchors","href":"index.html#include-with-multiple-anchors","level":2},{"title":"Section 2","href":"index.html#section21","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection212","level":3}]},{"title":"Include with paragraph anchor","href":"index.html#include-with-paragraph-anchor","level":2},{"title":"Nested includes","href":"index.html#nested-includes","level":2},{"title":"Include with anchor → root","href":"index.html#include-with-anchor5","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection213","level":3}]},{"title":"Section 3","href":"index.html#section32","level":2},{"title":"Deep nested includes","href":"index.html#deep-nested-includes","level":2},{"title":"Commented includes","href":"index.html#commented-includes","level":2},{"title":"Include with variable substitution","href":"index.html#include-with-variable-substitution","level":2},{"title":"Include without title","href":"index.html#include-without-title","level":2},{"title":"Include without title from the same directory","href":"index.html#include-without-title-from-the-same-directory","level":2},{"title":"Include without title with anchor","href":"index.html#include-without-title-with-anchor","level":2},{"title":"Include without title with paragraph anchor","href":"index.html#include-without-title-with-paragraph-anchor","level":2},{"title":"Include with anchor","href":"index.html#anchor","level":2}],"title":"Test Includes"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
682
+ {"data":{"leading":false,"html":"&lt;p&gt;This is a test page for various include scenarios.&lt;/p&gt;/n&lt;h2 id=\\"include-from-root-level\\"&gt;&lt;a href=\\"index.html#include-from-root-level\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from root level&lt;/span&gt;&lt;/a&gt;Include from root level&lt;/h2&gt;/n/n&lt;p&gt;This is an include from the root level.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h2 id=\\"section2\\"&gt;&lt;a href=\\"index.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection21\\"&gt;&lt;a href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-from-level1\\"&gt;&lt;a href=\\"index.html#include-from-level1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level1&lt;/span&gt;&lt;/a&gt;Include from level1&lt;/h2&gt;/n/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor1\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection211\\"&gt;&lt;a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section3\\"&gt;&lt;a href=\\"index.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-from-level2\\"&gt;&lt;a href=\\"index.html#include-from-level2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level2&lt;/span&gt;&lt;/a&gt;Include from level2&lt;/h2&gt;/n/n&lt;p&gt;This is an include from level 2.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor2\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h2 id=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"index.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-with-missing-file\\"&gt;&lt;a href=\\"index.html#include-with-missing-file\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with missing file&lt;/span&gt;&lt;/a&gt;Include with missing file&lt;/h2&gt;/n/n&lt;h2 id=\\"include-file-that-is-in-toc\\"&gt;&lt;a href=\\"index.html#include-file-that-is-in-toc\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include file that is in toc&lt;/span&gt;&lt;/a&gt;Include file that is in toc&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"toc-include.html\\"&gt;Link to toc-include&lt;/a&gt;&lt;/p&gt;/n/n&lt;h1&gt;Toc Include&lt;/h1&gt;/n&lt;p&gt;This file is included in the toc.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor3\\"&gt;&lt;a href=\\"index.html#include-with-anchor3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n/n&lt;h2 id=\\"section1\\"&gt;&lt;a href=\\"index.html#section1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 1&lt;/span&gt;&lt;/a&gt;Section 1&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n/n/n&lt;h2 id=\\"links-to-different-levels\\"&gt;&lt;a href=\\"index.html#links-to-different-levels\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Links to different levels&lt;/span&gt;&lt;/a&gt;Links to different levels&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor4\\"&gt;&lt;a href=\\"index.html#include-with-anchor4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n/n&lt;h2 id=\\"section11\\"&gt;&lt;a id=\\"section1\\" href=\\"index.html#section1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 1&lt;/span&gt;&lt;/a&gt;Section 1&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n/n&lt;h2 id=\\"include-with-multiple-anchors\\"&gt;&lt;a href=\\"index.html#include-with-multiple-anchors\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with multiple anchors&lt;/span&gt;&lt;/a&gt;Include with multiple anchors&lt;/h2&gt;/n/n&lt;h2 id=\\"section21\\"&gt;&lt;a id=\\"section2\\" href=\\"index.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection212\\"&gt;&lt;a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n/n&lt;h2 id=\\"include-with-paragraph-anchor\\"&gt;&lt;a href=\\"index.html#include-with-paragraph-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with paragraph anchor&lt;/span&gt;&lt;/a&gt;Include with paragraph anchor&lt;/h2&gt;/n/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n&lt;h2 id=\\"nested-includes\\"&gt;&lt;a href=\\"index.html#nested-includes\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Nested includes&lt;/span&gt;&lt;/a&gt;Nested includes&lt;/h2&gt;/n/n&lt;h1 id=\\"nested-include\\"&gt;Nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;This is a nested include.&lt;/p&gt;/n/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor5\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection213\\"&gt;&lt;a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section32\\"&gt;&lt;a id=\\"section3\\" href=\\"index.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n/n&lt;h2 id=\\"deep-nested-includes\\"&gt;&lt;a href=\\"index.html#deep-nested-includes\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Deep nested includes&lt;/span&gt;&lt;/a&gt;Deep nested includes&lt;/h2&gt;/n/n&lt;h1 id=\\"deep-nested-include\\"&gt;Deep nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1 page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2 page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a deep nested include.&lt;/p&gt;/n/n&lt;h1 id=\\"user-include\\"&gt;User include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n/n&lt;p&gt;&lt;img src=\\"_assets/4.png\\" alt=\\"img 3\\" /&gt;&lt;/p&gt;/n/n&lt;h2 id=\\"commented-includes\\"&gt;&lt;a href=\\"index.html#commented-includes\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Commented includes&lt;/span&gt;&lt;/a&gt;Commented includes&lt;/h2&gt;/n/n&lt;h2 id=\\"include-with-variable-substitution\\"&gt;&lt;a href=\\"index.html#include-with-variable-substitution\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with variable substitution&lt;/span&gt;&lt;/a&gt;Include with variable substitution&lt;/h2&gt;/n/n&lt;h1 id=\\"user-include\\"&gt;User include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n/n&lt;h2 id=\\"include-without-title\\"&gt;&lt;a href=\\"index.html#include-without-title\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title&lt;/span&gt;&lt;/a&gt;Include without title&lt;/h2&gt;/n/n&lt;h1 id=\\"include-without-title\\"&gt;Include without title &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a test for include without title.&lt;/p&gt;/n&lt;h2 id=\\"include-without-title-from-the-same-directory\\"&gt;&lt;a href=\\"index.html#include-without-title-from-the-same-directory\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title from the same directory&lt;/span&gt;&lt;/a&gt;Include without title from the same directory&lt;/h2&gt;/n/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n/n&lt;h2 id=\\"include-without-title-with-anchor\\"&gt;&lt;a href=\\"index.html#include-without-title-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title with anchor&lt;/span&gt;&lt;/a&gt;Include without title with anchor&lt;/h2&gt;/n/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n/n&lt;h2 id=\\"include-without-title-with-paragraph-anchor\\"&gt;&lt;a href=\\"index.html#include-without-title-with-paragraph-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title with paragraph anchor&lt;/span&gt;&lt;/a&gt;Include without title with paragraph anchor&lt;/h2&gt;/n/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n/n&lt;h2 id=\\"anchor\\"&gt;&lt;a href=\\"index.html#anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;p&gt;{% include notitle &lt;a href=\\"index.html#anchor\\"&gt;anchor&lt;/a&gt; %}&lt;br /&gt;/n{% include &lt;a href=\\"index.html#anchor\\"&gt;anchor&lt;/a&gt; %}&lt;/p&gt;/n/n&lt;h1 id=\\"include-without-title\\"&gt;Include without title &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a test for include without title.&lt;/p&gt;/n&lt;h2 id=\\"include-without-title-from-the-same-directory1\\"&gt;&lt;a href=\\"index.html#include-without-title-from-the-same-directory1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title from the same directory&lt;/span&gt;&lt;/a&gt;Include without title from the same directory&lt;/h2&gt;/n/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;This is a user include with variable substitution: Alice&lt;/p&gt;/n/n&lt;h2 id=\\"include-without-title-with-anchor1\\"&gt;&lt;a href=\\"index.html#include-without-title-with-anchor1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title with anchor&lt;/span&gt;&lt;/a&gt;Include without title with anchor&lt;/h2&gt;/n/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n/n&lt;h2 id=\\"include-without-title-with-paragraph-anchor1\\"&gt;&lt;a href=\\"index.html#include-without-title-with-paragraph-anchor1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include without title with paragraph anchor&lt;/span&gt;&lt;/a&gt;Include without title with paragraph anchor&lt;/h2&gt;/n/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.md"},"headings":[{"title":"Include from root level","href":"index.html#include-from-root-level","level":2},{"title":"Include with anchor → level1","href":"index.html#include-with-anchor","level":2},{"title":"Section 2","href":"index.html#section2","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection21","level":3}]},{"title":"Include from level1","href":"index.html#include-from-level1","level":2},{"title":"Include with anchor → root","href":"index.html#include-with-anchor1","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection211","level":3}]},{"title":"Section 3","href":"index.html#section3","level":2},{"title":"Include from level2","href":"index.html#include-from-level2","level":2},{"title":"Include with anchor → level1","href":"index.html#include-with-anchor2","level":2},{"title":"Section 3","href":"index.html#section31","level":2},{"title":"Include with missing file","href":"index.html#include-with-missing-file","level":2},{"title":"Include file that is in toc","href":"index.html#include-file-that-is-in-toc","level":2},{"title":"Include with anchor","href":"index.html#include-with-anchor3","level":2},{"title":"Section 1","href":"index.html#section1","level":2},{"title":"Links to different levels","href":"index.html#links-to-different-levels","level":2},{"title":"Include with anchor","href":"index.html#include-with-anchor4","level":2},{"title":"Section 1","href":"index.html#section11","level":2},{"title":"Include with multiple anchors","href":"index.html#include-with-multiple-anchors","level":2},{"title":"Section 2","href":"index.html#section21","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection212","level":3}]},{"title":"Include with paragraph anchor","href":"index.html#include-with-paragraph-anchor","level":2},{"title":"Nested includes","href":"index.html#nested-includes","level":2},{"title":"Include with anchor → root","href":"index.html#include-with-anchor5","level":2,"items":[{"title":"Subsection 2.1","href":"index.html#subsection213","level":3}]},{"title":"Section 3","href":"index.html#section32","level":2},{"title":"Deep nested includes","href":"index.html#deep-nested-includes","level":2},{"title":"Commented includes","href":"index.html#commented-includes","level":2},{"title":"Include with variable substitution","href":"index.html#include-with-variable-substitution","level":2},{"title":"Include without title","href":"index.html#include-without-title","level":2},{"title":"Include without title from the same directory","href":"index.html#include-without-title-from-the-same-directory","level":2},{"title":"Include without title with anchor","href":"index.html#include-without-title-with-anchor","level":2},{"title":"Include without title with paragraph anchor","href":"index.html#include-without-title-with-paragraph-anchor","level":2},{"title":"Include with anchor","href":"index.html#anchor","level":2},{"title":"Include without title from the same directory","href":"index.html#include-without-title-from-the-same-directory1","level":2},{"title":"Include without title with anchor","href":"index.html#include-without-title-with-anchor1","level":2},{"title":"Include without title with paragraph anchor","href":"index.html#include-without-title-with-paragraph-anchor1","level":2}],"title":"Test Includes"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
394
683
  </script>
395
684
  <script type="application/javascript">
396
685
  const data = document.querySelector('script#diplodoc-state');
@@ -404,7 +693,7 @@ exports[`Includes > Various include scenarios 17`] = `
404
693
  </html>"
405
694
  `;
406
695
 
407
- exports[`Includes > Various include scenarios 18`] = `
696
+ exports[`Includes > Various include scenarios 9`] = `
408
697
  "<!DOCTYPE html>
409
698
  <html lang="ru" dir="ltr">
410
699
  <head>
@@ -418,7 +707,7 @@ exports[`Includes > Various include scenarios 18`] = `
418
707
  <body class="g-root g-root_theme_light">
419
708
  <div id="root"></div>
420
709
  <script type="application/json" id="diplodoc-state">
421
- {"data":{"leading":false,"html":"&lt;p&gt;This is page 2 at level 2.&lt;/p&gt;/n&lt;h2 id=\\"include-from-level2\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-level2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level2&lt;/span&gt;&lt;/a&gt;Include from level2&lt;/h2&gt;/n&lt;p&gt;This is an include from level 2.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n&lt;h2 id=\\"section3\\"&gt;&lt;a href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-from-level1\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-level1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level1&lt;/span&gt;&lt;/a&gt;Include from level1&lt;/h2&gt;/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor1\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n&lt;h3 id=\\"subsection21\\"&gt;&lt;a href=\\"level1/level2/page2.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-from-root\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-root\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from root&lt;/span&gt;&lt;/a&gt;Include from root&lt;/h2&gt;/n&lt;p&gt;This is an include from the root level.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor2\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n&lt;h2 id=\\"section2\\"&gt;&lt;a href=\\"level1/level2/page2.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection211\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/level2/page2.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"links-to-different-levels\\"&gt;&lt;a href=\\"level1/level2/page2.html#links-to-different-levels\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Links to different levels&lt;/span&gt;&lt;/a&gt;Links to different levels&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"nested-include\\"&gt;&lt;a href=\\"level1/level2/page2.html#nested-include\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Nested include&lt;/span&gt;&lt;/a&gt;Nested include&lt;/h2&gt;/n&lt;h1 id=\\"nested-include\\"&gt;Nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;This is a nested include.&lt;/p&gt;/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor3\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n&lt;h3 id=\\"subsection212\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/level2/page2.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section32\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor4\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-with-anchor4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;h2 id=\\"section33\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"level1/level2/page2.md"},"headings":[{"title":"Include from level2","href":"level1/level2/page2.html#include-from-level2","level":2},{"title":"Include with anchor → level1","href":"level1/level2/page2.html#include-with-anchor","level":2},{"title":"Section 3","href":"level1/level2/page2.html#section3","level":2},{"title":"Include from level1","href":"level1/level2/page2.html#include-from-level1","level":2},{"title":"Include with anchor → root","href":"level1/level2/page2.html#include-with-anchor1","level":2,"items":[{"title":"Subsection 2.1","href":"level1/level2/page2.html#subsection21","level":3}]},{"title":"Section 3","href":"level1/level2/page2.html#section31","level":2},{"title":"Include from root","href":"level1/level2/page2.html#include-from-root","level":2},{"title":"Include with anchor → level1","href":"level1/level2/page2.html#include-with-anchor2","level":2},{"title":"Section 2","href":"level1/level2/page2.html#section2","level":2,"items":[{"title":"Subsection 2.1","href":"level1/level2/page2.html#subsection211","level":3}]},{"title":"Links to different levels","href":"level1/level2/page2.html#links-to-different-levels","level":2},{"title":"Nested include","href":"level1/level2/page2.html#nested-include","level":2},{"title":"Include with anchor → root","href":"level1/level2/page2.html#include-with-anchor3","level":2,"items":[{"title":"Subsection 2.1","href":"level1/level2/page2.html#subsection212","level":3}]},{"title":"Section 3","href":"level1/level2/page2.html#section32","level":2},{"title":"Include with anchor","href":"level1/level2/page2.html#include-with-anchor4","level":2},{"title":"Section 3","href":"level1/level2/page2.html#section33","level":2}],"title":"Page 2"},"router":{"pathname":"level1/level2/page2","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
710
+ {"data":{"leading":false,"html":"&lt;p&gt;This is page 2 at level 2.&lt;/p&gt;/n&lt;h2 id=\\"include-from-level2\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-level2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level2&lt;/span&gt;&lt;/a&gt;Include from level2&lt;/h2&gt;/n/n&lt;p&gt;This is an include from level 2.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h2 id=\\"section3\\"&gt;&lt;a href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-from-level1\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-level1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level1&lt;/span&gt;&lt;/a&gt;Include from level1&lt;/h2&gt;/n/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor1\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection21\\"&gt;&lt;a href=\\"level1/level2/page2.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-from-root\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-root\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from root&lt;/span&gt;&lt;/a&gt;Include from root&lt;/h2&gt;/n/n&lt;p&gt;This is an include from the root level.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor2\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h2 id=\\"section2\\"&gt;&lt;a href=\\"level1/level2/page2.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection211\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/level2/page2.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n/n/n&lt;h2 id=\\"links-to-different-levels\\"&gt;&lt;a href=\\"level1/level2/page2.html#links-to-different-levels\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Links to different levels&lt;/span&gt;&lt;/a&gt;Links to different levels&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"nested-include\\"&gt;&lt;a href=\\"level1/level2/page2.html#nested-include\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Nested include&lt;/span&gt;&lt;/a&gt;Nested include&lt;/h2&gt;/n/n&lt;h1 id=\\"nested-include\\"&gt;Nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;This is a nested include.&lt;/p&gt;/n/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor3\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/level2/page2.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection212\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/level2/page2.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section32\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n/n&lt;h2 id=\\"include-with-anchor4\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-with-anchor4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n/n&lt;h2 id=\\"section33\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"level1/level2/page2.md"},"headings":[{"title":"Include from level2","href":"level1/level2/page2.html#include-from-level2","level":2},{"title":"Include with anchor → level1","href":"level1/level2/page2.html#include-with-anchor","level":2},{"title":"Section 3","href":"level1/level2/page2.html#section3","level":2},{"title":"Include from level1","href":"level1/level2/page2.html#include-from-level1","level":2},{"title":"Include with anchor → root","href":"level1/level2/page2.html#include-with-anchor1","level":2,"items":[{"title":"Subsection 2.1","href":"level1/level2/page2.html#subsection21","level":3}]},{"title":"Section 3","href":"level1/level2/page2.html#section31","level":2},{"title":"Include from root","href":"level1/level2/page2.html#include-from-root","level":2},{"title":"Include with anchor → level1","href":"level1/level2/page2.html#include-with-anchor2","level":2},{"title":"Section 2","href":"level1/level2/page2.html#section2","level":2,"items":[{"title":"Subsection 2.1","href":"level1/level2/page2.html#subsection211","level":3}]},{"title":"Links to different levels","href":"level1/level2/page2.html#links-to-different-levels","level":2},{"title":"Nested include","href":"level1/level2/page2.html#nested-include","level":2},{"title":"Include with anchor → root","href":"level1/level2/page2.html#include-with-anchor3","level":2,"items":[{"title":"Subsection 2.1","href":"level1/level2/page2.html#subsection212","level":3}]},{"title":"Section 3","href":"level1/level2/page2.html#section32","level":2},{"title":"Include with anchor","href":"level1/level2/page2.html#include-with-anchor4","level":2},{"title":"Section 3","href":"level1/level2/page2.html#section33","level":2}],"title":"Page 2"},"router":{"pathname":"level1/level2/page2","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
422
711
  </script>
423
712
  <script type="application/javascript">
424
713
  const data = document.querySelector('script#diplodoc-state');
@@ -432,7 +721,7 @@ exports[`Includes > Various include scenarios 18`] = `
432
721
  </html>"
433
722
  `;
434
723
 
435
- exports[`Includes > Various include scenarios 19`] = `
724
+ exports[`Includes > Various include scenarios 10`] = `
436
725
  "<!DOCTYPE html>
437
726
  <html lang="ru" dir="ltr">
438
727
  <head>
@@ -446,7 +735,7 @@ exports[`Includes > Various include scenarios 19`] = `
446
735
  <body class="g-root g-root_theme_light">
447
736
  <div id="root"></div>
448
737
  <script type="application/json" id="diplodoc-state">
449
- {"data":{"leading":false,"html":"&lt;p&gt;This is page 1 at level 1.&lt;/p&gt;/n&lt;h2 id=\\"include-from-level1\\"&gt;&lt;a href=\\"level1/page1.html#include-from-level1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level1&lt;/span&gt;&lt;/a&gt;Include from level1&lt;/h2&gt;/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n&lt;h3 id=\\"subsection21\\"&gt;&lt;a href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section3\\"&gt;&lt;a href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-from-root\\"&gt;&lt;a href=\\"level1/page1.html#include-from-root\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from root&lt;/span&gt;&lt;/a&gt;Include from root&lt;/h2&gt;/n&lt;p&gt;This is an include from the root level.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor1\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n&lt;h2 id=\\"section2\\"&gt;&lt;a href=\\"level1/page1.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection211\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"include-from-level2\\"&gt;&lt;a href=\\"level1/page1.html#include-from-level2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level2&lt;/span&gt;&lt;/a&gt;Include from level2&lt;/h2&gt;/n&lt;p&gt;This is an include from level 2.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor2\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n&lt;h2 id=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"links-to-different-levels\\"&gt;&lt;a href=\\"level1/page1.html#links-to-different-levels\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Links to different levels&lt;/span&gt;&lt;/a&gt;Links to different levels&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"nested-include\\"&gt;&lt;a href=\\"level1/page1.html#nested-include\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Nested include&lt;/span&gt;&lt;/a&gt;Nested include&lt;/h2&gt;/n&lt;h1 id=\\"nested-include\\"&gt;Nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;This is a nested include.&lt;/p&gt;/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor3\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n&lt;h3 id=\\"subsection212\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section32\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor4\\"&gt;&lt;a href=\\"level1/page1.html#include-with-anchor4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;h3 id=\\"subsection213\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section33\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"level1/page1.md"},"headings":[{"title":"Include from level1","href":"level1/page1.html#include-from-level1","level":2},{"title":"Include with anchor → root","href":"level1/page1.html#include-with-anchor","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection21","level":3}]},{"title":"Section 3","href":"level1/page1.html#section3","level":2},{"title":"Include from root","href":"level1/page1.html#include-from-root","level":2},{"title":"Include with anchor → level1","href":"level1/page1.html#include-with-anchor1","level":2},{"title":"Section 2","href":"level1/page1.html#section2","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection211","level":3}]},{"title":"Include from level2","href":"level1/page1.html#include-from-level2","level":2},{"title":"Include with anchor → level1","href":"level1/page1.html#include-with-anchor2","level":2},{"title":"Section 3","href":"level1/page1.html#section31","level":2},{"title":"Links to different levels","href":"level1/page1.html#links-to-different-levels","level":2},{"title":"Nested include","href":"level1/page1.html#nested-include","level":2},{"title":"Include with anchor → root","href":"level1/page1.html#include-with-anchor3","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection212","level":3}]},{"title":"Section 3","href":"level1/page1.html#section32","level":2},{"title":"Include with anchor","href":"level1/page1.html#include-with-anchor4","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection213","level":3}]},{"title":"Section 3","href":"level1/page1.html#section33","level":2}],"title":"Page 1"},"router":{"pathname":"level1/page1","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
738
+ {"data":{"leading":false,"html":"&lt;p&gt;This is page 1 at level 1.&lt;/p&gt;/n&lt;h2 id=\\"include-from-level1\\"&gt;&lt;a href=\\"level1/page1.html#include-from-level1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level1&lt;/span&gt;&lt;/a&gt;Include from level1&lt;/h2&gt;/n/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection21\\"&gt;&lt;a href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section3\\"&gt;&lt;a href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-from-root\\"&gt;&lt;a href=\\"level1/page1.html#include-from-root\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from root&lt;/span&gt;&lt;/a&gt;Include from root&lt;/h2&gt;/n/n&lt;p&gt;This is an include from the root level.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to level1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor1\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h2 id=\\"section2\\"&gt;&lt;a href=\\"level1/page1.html#section2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 2&lt;/span&gt;&lt;/a&gt;Section 2&lt;/h2&gt;/n&lt;p&gt;This is content of section 2.&lt;/p&gt;/n&lt;h3 id=\\"subsection211\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n/n/n&lt;h2 id=\\"include-from-level2\\"&gt;&lt;a href=\\"level1/page1.html#include-from-level2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include from level2&lt;/span&gt;&lt;/a&gt;Include from level2&lt;/h2&gt;/n/n&lt;p&gt;This is an include from level 2.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor2\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → level1&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"level1/page1.html\\"&gt;→ level1&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h2 id=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n&lt;h2 id=\\"links-to-different-levels\\"&gt;&lt;a href=\\"level1/page1.html#links-to-different-levels\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Links to different levels&lt;/span&gt;&lt;/a&gt;Links to different levels&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"nested-include\\"&gt;&lt;a href=\\"level1/page1.html#nested-include\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Nested include&lt;/span&gt;&lt;/a&gt;Nested include&lt;/h2&gt;/n/n&lt;h1 id=\\"nested-include\\"&gt;Nested include &lt;a href=\\"index.html\\"&gt;→ index&lt;/a&gt;&lt;/h1&gt;/n&lt;p&gt;This is a nested include.&lt;/p&gt;/n/n&lt;p&gt;This is an include from level 1.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to level2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor3\\"&gt;&lt;a id=\\"include-with-anchor\\" href=\\"level1/page1.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor → root&lt;/span&gt;&lt;/a&gt;Include with anchor &lt;a href=\\"index.html\\"&gt;→ root&lt;/a&gt;&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection212\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section32\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n/n&lt;h2 id=\\"include-with-anchor4\\"&gt;&lt;a href=\\"level1/page1.html#include-with-anchor4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n/n&lt;h3 id=\\"subsection213\\"&gt;&lt;a id=\\"subsection21\\" href=\\"level1/page1.html#subsection21\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subsection 2.1&lt;/span&gt;&lt;/a&gt;Subsection 2.1&lt;/h3&gt;/n&lt;p&gt;This is content of subsection 2.1.&lt;/p&gt;/n&lt;h2 id=\\"section33\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/page1.html#section3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 3&lt;/span&gt;&lt;/a&gt;Section 3&lt;/h2&gt;/n&lt;p&gt;This is content of section 3.&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n&lt;p&gt;Some paragraph without anchor&lt;/p&gt;/n&lt;p id=\\"p2\\"&gt;Some paragraph with anchor&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"level1/page1.md"},"headings":[{"title":"Include from level1","href":"level1/page1.html#include-from-level1","level":2},{"title":"Include with anchor → root","href":"level1/page1.html#include-with-anchor","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection21","level":3}]},{"title":"Section 3","href":"level1/page1.html#section3","level":2},{"title":"Include from root","href":"level1/page1.html#include-from-root","level":2},{"title":"Include with anchor → level1","href":"level1/page1.html#include-with-anchor1","level":2},{"title":"Section 2","href":"level1/page1.html#section2","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection211","level":3}]},{"title":"Include from level2","href":"level1/page1.html#include-from-level2","level":2},{"title":"Include with anchor → level1","href":"level1/page1.html#include-with-anchor2","level":2},{"title":"Section 3","href":"level1/page1.html#section31","level":2},{"title":"Links to different levels","href":"level1/page1.html#links-to-different-levels","level":2},{"title":"Nested include","href":"level1/page1.html#nested-include","level":2},{"title":"Include with anchor → root","href":"level1/page1.html#include-with-anchor3","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection212","level":3}]},{"title":"Section 3","href":"level1/page1.html#section32","level":2},{"title":"Include with anchor","href":"level1/page1.html#include-with-anchor4","level":2,"items":[{"title":"Subsection 2.1","href":"level1/page1.html#subsection213","level":3}]},{"title":"Section 3","href":"level1/page1.html#section33","level":2}],"title":"Page 1"},"router":{"pathname":"level1/page1","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
450
739
  </script>
451
740
  <script type="application/javascript">
452
741
  const data = document.querySelector('script#diplodoc-state');
@@ -460,7 +749,7 @@ exports[`Includes > Various include scenarios 19`] = `
460
749
  </html>"
461
750
  `;
462
751
 
463
- exports[`Includes > Various include scenarios 20`] = `
752
+ exports[`Includes > Various include scenarios 11`] = `
464
753
  "<!DOCTYPE html>
465
754
  <html lang="ru" dir="ltr">
466
755
  <head>
@@ -474,7 +763,7 @@ exports[`Includes > Various include scenarios 20`] = `
474
763
  <body class="g-root g-root_theme_light">
475
764
  <div id="root"></div>
476
765
  <script type="application/json" id="diplodoc-state">
477
- {"data":{"leading":false,"html":"&lt;p&gt;This file is included in the toc.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"toc-include.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n&lt;h2 id=\\"section1\\"&gt;&lt;a href=\\"toc-include.html#section1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 1&lt;/span&gt;&lt;/a&gt;Section 1&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"toc-include.md"},"headings":[{"title":"Include with anchor","href":"toc-include.html#include-with-anchor","level":2},{"title":"Section 1","href":"toc-include.html#section1","level":2}],"title":"Toc Include"},"router":{"pathname":"toc-include","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
766
+ {"data":{"leading":false,"html":"&lt;p&gt;This file is included in the toc.&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"index.html\\"&gt;Link to index&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/page1.html\\"&gt;Link to page1&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"level1/level2/page2.html\\"&gt;Link to page2&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"include-with-anchor\\"&gt;&lt;a href=\\"toc-include.html#include-with-anchor\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include with anchor&lt;/span&gt;&lt;/a&gt;Include with anchor&lt;/h2&gt;/n/n&lt;h2 id=\\"section1\\"&gt;&lt;a href=\\"toc-include.html#section1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Section 1&lt;/span&gt;&lt;/a&gt;Section 1&lt;/h2&gt;/n&lt;p&gt;This is content of section 1.&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"toc-include.md"},"headings":[{"title":"Include with anchor","href":"toc-include.html#include-with-anchor","level":2},{"title":"Section 1","href":"toc-include.html#section1","level":2}],"title":"Toc Include"},"router":{"pathname":"toc-include","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
478
767
  </script>
479
768
  <script type="application/javascript">
480
769
  const data = document.querySelector('script#diplodoc-state');
@@ -488,4 +777,4 @@ exports[`Includes > Various include scenarios 20`] = `
488
777
  </html>"
489
778
  `;
490
779
 
491
- exports[`Includes > Various include scenarios 21`] = `"window.__DATA__.data.toc = {"items":[{"name":"Test Includes","href":"index.html","id":"UUID"},{"name":"Toc Include","href":"toc-include.html","id":"UUID"},{"name":"Level 1","items":[{"name":"Page 1","href":"level1/page1.html","id":"UUID"},{"name":"Level 2","items":[{"name":"Page 2","href":"level1/level2/page2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
780
+ exports[`Includes > Various include scenarios 12`] = `"window.__DATA__.data.toc = {"items":[{"name":"Test Includes","href":"index.html","id":"UUID"},{"name":"Toc Include","href":"toc-include.html","id":"UUID"},{"name":"Level 1","items":[{"name":"Page 1","href":"level1/page1.html","id":"UUID"},{"name":"Level 2","items":[{"name":"Page 2","href":"level1/level2/page2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;