@diplodoc/cli-tests 5.39.8 → 5.41.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.
Files changed (40) hide show
  1. package/e2e/__snapshots__/build-content-map.spec.ts.snap +329 -0
  2. package/e2e/__snapshots__/include-toc.test.ts.snap +23 -50
  3. package/e2e/__snapshots__/includes-conditions.test.ts.snap +15 -29
  4. package/e2e/__snapshots__/includes.test.ts.snap +437 -148
  5. package/e2e/__snapshots__/merge-includes.spec.ts.snap +4 -4
  6. package/e2e/__snapshots__/pdf-page.spec.ts.snap +0 -1
  7. package/e2e/__snapshots__/preprocess.test.ts.snap +108 -171
  8. package/e2e/__snapshots__/regression.test.ts.snap +167 -208
  9. package/e2e/build-content-map.spec.ts +220 -0
  10. package/mocks/build-content-map/autotitle-chain/input/.yfm +0 -0
  11. package/mocks/build-content-map/autotitle-chain/input/a.md +3 -0
  12. package/mocks/build-content-map/autotitle-chain/input/b.md +3 -0
  13. package/mocks/build-content-map/autotitle-chain/input/c.md +3 -0
  14. package/mocks/build-content-map/autotitle-chain/input/toc.yaml +9 -0
  15. package/mocks/build-content-map/autotitle-target-with-include/input/.yfm +0 -0
  16. package/mocks/build-content-map/autotitle-target-with-include/input/_includes/snippet.md +3 -0
  17. package/mocks/build-content-map/autotitle-target-with-include/input/a.md +3 -0
  18. package/mocks/build-content-map/autotitle-target-with-include/input/b.md +3 -0
  19. package/mocks/build-content-map/autotitle-target-with-include/input/toc.yaml +7 -0
  20. package/mocks/build-content-map/diamond-includes/input/.yfm +0 -0
  21. package/mocks/build-content-map/diamond-includes/input/_includes/branch-a.md +5 -0
  22. package/mocks/build-content-map/diamond-includes/input/_includes/branch-b.md +5 -0
  23. package/mocks/build-content-map/diamond-includes/input/_includes/shared.md +3 -0
  24. package/mocks/build-content-map/diamond-includes/input/index.md +7 -0
  25. package/mocks/build-content-map/diamond-includes/input/toc.yaml +5 -0
  26. package/mocks/build-content-map/nested-includes/input/.yfm +0 -0
  27. package/mocks/build-content-map/nested-includes/input/_includes/level1.md +5 -0
  28. package/mocks/build-content-map/nested-includes/input/_includes/level2.md +3 -0
  29. package/mocks/build-content-map/nested-includes/input/index.md +5 -0
  30. package/mocks/build-content-map/nested-includes/input/toc.yaml +5 -0
  31. package/mocks/build-content-map/with-autotitles/input/.yfm +0 -0
  32. package/mocks/build-content-map/with-autotitles/input/index.md +3 -0
  33. package/mocks/build-content-map/with-autotitles/input/other.md +3 -0
  34. package/mocks/build-content-map/with-autotitles/input/toc.yaml +7 -0
  35. package/mocks/build-content-map/with-includes/input/.yfm +0 -0
  36. package/mocks/build-content-map/with-includes/input/_includes/snippet.md +1 -0
  37. package/mocks/build-content-map/with-includes/input/index.md +5 -0
  38. package/mocks/build-content-map/with-includes/input/logo.svg +1 -0
  39. package/mocks/build-content-map/with-includes/input/toc.yaml +5 -0
  40. package/package.json +1 -1
@@ -10,7 +10,6 @@ exports[`Regression > internal > filelist 1`] = `
10
10
  "_assets/5_1.png",
11
11
  "_assets/empty.pdf",
12
12
  "autotitle.md",
13
- "entry-as-include-hash.md",
14
13
  "entry-as-include.md",
15
14
  "generic/1.md",
16
15
  "generic/2.md",
@@ -21,19 +20,12 @@ exports[`Regression > internal > filelist 1`] = `
21
20
  "included-item.md",
22
21
  "includer-of-entry.md",
23
22
  "includes.md",
24
- "includes/deep-hash.md",
25
- "includes/fragments-hash.md",
26
23
  "includes/fragments.md",
27
- "includes/styles-hash.md",
28
- "includes/test-hash.md",
29
- "includes/tools-hash.md",
30
- "includes/user-hash.md",
31
24
  "index.yaml",
32
25
  "latex.md",
33
26
  "merge/merge.md",
34
27
  "merge/merged.md",
35
28
  "merge/toc.yaml",
36
- "mermaid-hash.md",
37
29
  "mermaid.md",
38
30
  "openapi/index.md",
39
31
  "openapi/test-controller/getHiddenTest.md",
@@ -125,7 +117,9 @@ default-var-value
125
117
 
126
118
  [noext-link](./includes)
127
119
 
128
- {% include [user](includes/user-hash.md) %}
120
+ <!-- source: includes/user.md -->
121
+ Bob
122
+ <!-- endsource: includes/user.md -->
129
123
  "
130
124
  `;
131
125
 
@@ -186,34 +180,77 @@ link with [some local term1](*term1-1)
186
180
 
187
181
  All fragments
188
182
 
189
- {% include [test](includes/fragments-hash.md) %}
183
+ <!-- source: includes/fragments.md -->
184
+ ### F1 {#f1}
185
+ Content F1
186
+
187
+ ## F2 {#f2}
188
+ Content F2
189
+
190
+ ### F2.1 {#f2.1}
191
+ Content F2.1
192
+
193
+ ## F3 {#f3}
194
+ Content F3
195
+
196
+ Some paragraph with anchor {#p1}
197
+
198
+ Some paragraph without anchor
199
+
200
+ Some paragraph with anchor {#p2}
201
+
202
+ ## F4 {#f4}
203
+ Content F4
204
+ [Header](autotitle.md#header)
205
+
206
+ ### F4.1 {#f4.1}
207
+ link with [some term1](*term1)
208
+
209
+ {% list tabs %}
210
+
211
+ - Название таба 1
212
+
213
+ Текст таба 1.
214
+
215
+ * Можно использовать списки.
216
+ * И **другую** разметку.
217
+
218
+ - Название таба 2
219
+
220
+ Текст таба 2.
221
+
222
+ {% endlist %}
223
+ <!-- endsource: includes/fragments.md -->
190
224
 
191
225
 
192
226
  ## Header {#header}
193
227
 
194
228
  Content2
195
229
 
196
- {% include [test](includes/styles-hash.md) %}
230
+ <!-- source: includes/styles.md -->
231
+ <style>
197
232
 
198
- [*term1-1]: {% include [test](includes/fragments-hash.md#f3) %}"
199
- `;
233
+ .yfm .border-yes {
234
+ border: 1px solid #ccc;
235
+ border-radius: 10px;
236
+ }
200
237
 
201
- exports[`Regression > internal 4`] = `
202
- "---
203
- metadata:
204
- - name: generator
205
- content: Diplodoc Platform vDIPLODOC-VERSION
206
- __system:
207
- testVar: test-value
208
- vcsPath: entry-as-include.md
209
- ---
210
- # Entry that is also used as include
238
+ </style>
239
+ <!-- endsource: includes/styles.md -->
211
240
 
212
- This file is both an entry (in toc) and included by another file.
213
- "
241
+ [*term1-1]: ## F3 {#f3}
242
+ Content F3
243
+
244
+ Some paragraph with anchor {#p1}
245
+
246
+ Some paragraph without anchor
247
+
248
+ Some paragraph with anchor {#p2}
249
+
250
+ [*term1]: Some description"
214
251
  `;
215
252
 
216
- exports[`Regression > internal 5`] = `
253
+ exports[`Regression > internal 4`] = `
217
254
  "---
218
255
  metadata:
219
256
  - name: generator
@@ -228,7 +265,7 @@ This file is both an entry (in toc) and included by another file.
228
265
  "
229
266
  `;
230
267
 
231
- exports[`Regression > internal 6`] = `
268
+ exports[`Regression > internal 5`] = `
232
269
  "---
233
270
  metadata:
234
271
  - name: generator
@@ -243,7 +280,7 @@ Note content 1
243
280
  "
244
281
  `;
245
282
 
246
- exports[`Regression > internal 7`] = `
283
+ exports[`Regression > internal 6`] = `
247
284
  "---
248
285
  metadata:
249
286
  - name: generator
@@ -258,7 +295,7 @@ Note content 1
258
295
  "
259
296
  `;
260
297
 
261
- exports[`Regression > internal 8`] = `
298
+ exports[`Regression > internal 7`] = `
262
299
  "---
263
300
  metadata:
264
301
  - name: generator
@@ -271,7 +308,7 @@ Note content 1
271
308
  "
272
309
  `;
273
310
 
274
- exports[`Regression > internal 9`] = `
311
+ exports[`Regression > internal 8`] = `
275
312
  "---
276
313
  metadata:
277
314
  - name: generator
@@ -286,7 +323,7 @@ Note content 1
286
323
  "
287
324
  `;
288
325
 
289
- exports[`Regression > internal 10`] = `
326
+ exports[`Regression > internal 9`] = `
290
327
  "---
291
328
  metadata:
292
329
  - name: generator
@@ -301,7 +338,7 @@ Note content 2
301
338
  "
302
339
  `;
303
340
 
304
- exports[`Regression > internal 11`] = `
341
+ exports[`Regression > internal 10`] = `
305
342
  "---
306
343
  metadata:
307
344
  - name: generator
@@ -325,7 +362,7 @@ vcsPath: images.md
325
362
  [![img 3](_assets/3.png)](latex.md)"
326
363
  `;
327
364
 
328
- exports[`Regression > internal 12`] = `
365
+ exports[`Regression > internal 11`] = `
329
366
  "---
330
367
  metadata:
331
368
  - name: generator
@@ -350,7 +387,7 @@ Included item text
350
387
  "
351
388
  `;
352
389
 
353
- exports[`Regression > internal 13`] = `
390
+ exports[`Regression > internal 12`] = `
354
391
  "---
355
392
  metadata:
356
393
  - name: generator
@@ -363,11 +400,15 @@ vcsPath: includer-of-entry.md
363
400
 
364
401
  This file includes another file that is also an entry.
365
402
 
366
- {% include [entry-as-include](entry-as-include-hash.md) %}
403
+ <!-- source: entry-as-include.md -->
404
+ # Entry that is also used as include
405
+
406
+ This file is both an entry (in toc) and included by another file.
407
+ <!-- endsource: entry-as-include.md -->
367
408
  "
368
409
  `;
369
410
 
370
- exports[`Regression > internal 14`] = `
411
+ exports[`Regression > internal 13`] = `
371
412
  "---
372
413
  metadata:
373
414
  - name: generator
@@ -378,16 +419,34 @@ vcsPath: includes.md
378
419
  ---
379
420
  Text
380
421
 
381
- {% include [user](includes/user-hash.md) %}
422
+ <!-- source: includes/user.md -->
423
+ Bob
424
+ <!-- endsource: includes/user.md -->
382
425
 
383
- {% include [test](includes/test-hash.md) %}
426
+ <!-- source: includes/test.md -->
427
+ Test
428
+ <!-- endsource: includes/test.md -->
384
429
 
385
- {% include [test](includes/fragments-hash.md#f1) %}
430
+ <!-- source: includes/fragments.md -->
431
+ ### F1 {#f1}
432
+ Content F1
386
433
 
387
- {% include [test](includes/fragments-hash.md#p1) %}
434
+ ## F2 {#f2}
435
+ Content F2
436
+ <!-- endsource: includes/fragments.md -->
437
+
438
+ <!-- source: includes/fragments.md -->
439
+ Some paragraph with anchor {#p1}
440
+ <!-- endsource: includes/fragments.md -->
388
441
 
389
442
  <!--{% include [For includes/deep.md](includes/deep.md) %}-->
390
- {% include [For includes/deep-hash.md](includes/deep-hash.md) %}
443
+ <!-- source: includes/deep.md -->
444
+ <!-- source: includes/user.md -->
445
+ Bob
446
+ <!-- endsource: includes/user.md -->
447
+
448
+ [![img 3](_assets/3.png)](latex.md)
449
+ <!-- endsource: includes/deep.md -->
391
450
 
392
451
  ^[?](*term)^
393
452
 
@@ -404,43 +463,25 @@ Autotitle include
404
463
  Link after include
405
464
 
406
465
  ## Mermaid
407
- {% include [test](mermaid-hash.md) %}
408
-
409
- [*term]: Test terms
410
- [*term1]: {% include [test](includes/fragments-hash.md#f3) %}
411
- [*term2]: {% include [test](includes/fragments-hash.md#f3) %}
412
- "
413
- `;
466
+ <!-- source: mermaid.md -->
467
+ # Mermaid usage
414
468
 
415
- exports[`Regression > internal 15`] = `
416
- "---
417
- __system:
418
- testVar: test-value
419
- ---
420
- {% include [user](./user-hash.md) %}
469
+ \`\`\`mermaid
421
470
 
422
- [![img 3](../_assets/3.png)](../latex.md)"
423
- `;
471
+ sequenceDiagram
472
+ rect rgba(251, 243, 232, 0.2)
473
+ Alice ->> Bob:
474
+ end
475
+ \`\`\`
424
476
 
425
- exports[`Regression > internal 16`] = `
426
- "---
427
- metadata:
428
- - name: generator
429
- content: Diplodoc Platform vDIPLODOC-VERSION
430
- __system:
431
- testVar: test-value
432
- vcsPath: includes/fragments.md
433
- ---
434
- ### F1 {#f1}
435
- Content F1
477
+ ## Mermaid info {#info}
436
478
 
437
- ## F2 {#f2}
438
- Content F2
479
+ Some mermaid info
480
+ <!-- endsource: mermaid.md -->
439
481
 
440
- ### F2.1 {#f2.1}
441
- Content F2.1
482
+ [*term]: Test terms
442
483
 
443
- ## F3 {#f3}
484
+ [*term1]: ## F3 {#f3}
444
485
  Content F3
445
486
 
446
487
  Some paragraph with anchor {#p1}
@@ -449,33 +490,17 @@ Some paragraph without anchor
449
490
 
450
491
  Some paragraph with anchor {#p2}
451
492
 
452
- ## F4 {#f4}
453
- Content F4
454
- [Header](../autotitle.md#header)
455
-
456
- ### F4.1 {#f4.1}
457
- link with [some term1](*term1)
458
-
459
- {% list tabs %}
460
-
461
- - Название таба 1
462
-
463
- Текст таба 1.
464
-
465
- * Можно использовать списки.
466
- * И **другую** разметку.
467
-
468
- - Название таба 2
493
+ [*term2]: ## F3 {#f3}
494
+ Content F3
469
495
 
470
- Текст таба 2.
496
+ Some paragraph with anchor {#p1}
471
497
 
472
- {% endlist %}
498
+ Some paragraph without anchor
473
499
 
474
- [*term1]: Some description
475
- "
500
+ Some paragraph with anchor {#p2}"
476
501
  `;
477
502
 
478
- exports[`Regression > internal 17`] = `
503
+ exports[`Regression > internal 14`] = `
479
504
  "---
480
505
  metadata:
481
506
  - name: generator
@@ -528,50 +553,7 @@ link with [some term1](*term1)
528
553
  "
529
554
  `;
530
555
 
531
- exports[`Regression > internal 18`] = `
532
- "---
533
- __system:
534
- testVar: test-value
535
- ---
536
- <style>
537
-
538
- .yfm .border-yes {
539
- border: 1px solid #ccc;
540
- border-radius: 10px;
541
- }
542
-
543
- </style>
544
- "
545
- `;
546
-
547
- exports[`Regression > internal 19`] = `
548
- "---
549
- __system:
550
- testVar: test-value
551
- ---
552
- Test
553
- "
554
- `;
555
-
556
- exports[`Regression > internal 20`] = `
557
- "---
558
- __system:
559
- testVar: test-value
560
- ---
561
- Tool: Hammer and Laser
562
- "
563
- `;
564
-
565
- exports[`Regression > internal 21`] = `
566
- "---
567
- __system:
568
- testVar: test-value
569
- ---
570
- Bob
571
- "
572
- `;
573
-
574
- exports[`Regression > internal 22`] = `
556
+ exports[`Regression > internal 15`] = `
575
557
  "description:
576
558
  - Some text
577
559
  links:
@@ -589,7 +571,7 @@ meta:
589
571
  "
590
572
  `;
591
573
 
592
- exports[`Regression > internal 23`] = `
574
+ exports[`Regression > internal 16`] = `
593
575
  "---
594
576
  metadata:
595
577
  - name: generator
@@ -604,7 +586,7 @@ $/sqrt{3x-1}+(1+x)^2$
604
586
  "
605
587
  `;
606
588
 
607
- exports[`Regression > internal 24`] = `
589
+ exports[`Regression > internal 17`] = `
608
590
  "---
609
591
  metadata:
610
592
  - name: generator
@@ -617,11 +599,13 @@ vcsPath: merge/merge.md
617
599
 
618
600
  [merged](./merged.md)
619
601
 
620
- {% include [tools](../includes/tools-hash.md) %}
602
+ <!-- source: includes/tools.md -->
603
+ Tool: Hammer and Laser
604
+ <!-- endsource: includes/tools.md -->
621
605
  "
622
606
  `;
623
607
 
624
- exports[`Regression > internal 25`] = `
608
+ exports[`Regression > internal 18`] = `
625
609
  "---
626
610
  metadata:
627
611
  - name: generator
@@ -637,7 +621,7 @@ Should be linked in toc.yaml
637
621
  "
638
622
  `;
639
623
 
640
- exports[`Regression > internal 26`] = `
624
+ exports[`Regression > internal 19`] = `
641
625
  "items:
642
626
  - name: Use merged
643
627
  href: merge.md
@@ -649,32 +633,7 @@ path: merge/toc.yaml
649
633
  "
650
634
  `;
651
635
 
652
- exports[`Regression > internal 27`] = `
653
- "---
654
- metadata:
655
- - name: generator
656
- content: Diplodoc Platform vDIPLODOC-VERSION
657
- __system:
658
- testVar: test-value
659
- vcsPath: mermaid.md
660
- ---
661
- # Mermaid usage
662
-
663
- \`\`\`mermaid
664
-
665
- sequenceDiagram
666
- rect rgba(251, 243, 232, 0.2)
667
- Alice ->> Bob:
668
- end
669
- \`\`\`
670
-
671
- ## Mermaid info {#info}
672
-
673
- Some mermaid info
674
- "
675
- `;
676
-
677
- exports[`Regression > internal 28`] = `
636
+ exports[`Regression > internal 20`] = `
678
637
  "---
679
638
  metadata:
680
639
  - name: generator
@@ -699,7 +658,7 @@ Some mermaid info
699
658
  "
700
659
  `;
701
660
 
702
- exports[`Regression > internal 29`] = `
661
+ exports[`Regression > internal 21`] = `
703
662
  "---
704
663
  metadata:
705
664
  - name: generator
@@ -993,7 +952,7 @@ vcsPath: openapi/index.md
993
952
  {% endcut %}"
994
953
  `;
995
954
 
996
- exports[`Regression > internal 30`] = `
955
+ exports[`Regression > internal 22`] = `
997
956
  "---
998
957
  metadata:
999
958
  - name: generator
@@ -1191,7 +1150,7 @@ _Example:_{.json-schema-reset .json-schema-example} \`example\`
1191
1150
  [*Deprecated]: No longer supported, please use an alternative and newer version."
1192
1151
  `;
1193
1152
 
1194
- exports[`Regression > internal 31`] = `
1153
+ exports[`Regression > internal 23`] = `
1195
1154
  "---
1196
1155
  metadata:
1197
1156
  - name: generator
@@ -1273,7 +1232,7 @@ _Example:_{.json-schema-reset .json-schema-example} \`example\`
1273
1232
  [*Deprecated]: No longer supported, please use an alternative and newer version."
1274
1233
  `;
1275
1234
 
1276
- exports[`Regression > internal 32`] = `
1235
+ exports[`Regression > internal 24`] = `
1277
1236
  "---
1278
1237
  metadata:
1279
1238
  - name: generator
@@ -1293,7 +1252,7 @@ vcsPath: openapi/test-controller/index.md
1293
1252
  "
1294
1253
  `;
1295
1254
 
1296
- exports[`Regression > internal 33`] = `
1255
+ exports[`Regression > internal 25`] = `
1297
1256
  "files:
1298
1257
  - from: c.md
1299
1258
  to: d.md
@@ -1303,7 +1262,7 @@ common:
1303
1262
  "
1304
1263
  `;
1305
1264
 
1306
- exports[`Regression > internal 34`] = `
1265
+ exports[`Regression > internal 26`] = `
1307
1266
  "---
1308
1267
  metadata:
1309
1268
  - name: generator
@@ -1320,7 +1279,7 @@ Item 1 text
1320
1279
  "
1321
1280
  `;
1322
1281
 
1323
- exports[`Regression > internal 35`] = `
1282
+ exports[`Regression > internal 27`] = `
1324
1283
  "items:
1325
1284
  - name: Verbose root (index.yaml) will be transformed to index.html
1326
1285
  href: index.yaml
@@ -1385,13 +1344,13 @@ path: toc.yaml
1385
1344
  "
1386
1345
  `;
1387
1346
 
1388
- exports[`Regression > internal 36`] = `
1347
+ exports[`Regression > internal 28`] = `
1389
1348
  "preprocess:
1390
1349
  mergeAutotitles: true
1391
1350
  "
1392
1351
  `;
1393
1352
 
1394
- exports[`Regression > internal 37`] = `
1353
+ exports[`Regression > internal 29`] = `
1395
1354
  "<!DOCTYPE html>
1396
1355
  <html lang="ru" dir="ltr">
1397
1356
  <head>
@@ -1405,7 +1364,7 @@ exports[`Regression > internal 37`] = `
1405
1364
  <body class="g-root g-root_theme_light">
1406
1365
  <div id="root"></div>
1407
1366
  <script type="application/json" id="diplodoc-state">
1408
- {"data":{"leading":false,"html":"&lt;p&gt;Text {{not-var}} {{skip()}} default-var-value&lt;/p&gt;/n&lt;p&gt;Text &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-1\\"&gt;{{not-var}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-2\\"&gt;{{skip()}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-3\\"&gt;default-var-value&lt;/code&gt;&lt;/p&gt;/n&lt;p&gt;Text&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs\\"&gt;{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"9\\"&gt;/n &lt;path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n &lt;/div&gt;/n&lt;p&gt;&lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-4\\"&gt;[not a link](./path/to/relative/file.md)&lt;/code&gt;&lt;/p&gt;/n&lt;h2 id=\\"subtitle\\"&gt;&lt;a href=\\"1.html#subtitle\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subtitle&lt;/span&gt;&lt;/a&gt;Subtitle&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html\\"&gt;Mermaid usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html#info\\"&gt;Mermaid info&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;Latex usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"includes\\"&gt;noext-link&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Bob&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"1.md"},"headings":[{"title":"Subtitle","href":"1.html#subtitle","level":2}],"title":"Title"},"router":{"pathname":"1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1367
+ {"data":{"leading":false,"html":"&lt;p&gt;Text {{not-var}} {{skip()}} default-var-value&lt;/p&gt;/n&lt;p&gt;Text &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-1\\"&gt;{{not-var}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-2\\"&gt;{{skip()}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-3\\"&gt;default-var-value&lt;/code&gt;&lt;/p&gt;/n&lt;p&gt;Text&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs\\"&gt;{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"9\\"&gt;/n &lt;path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n &lt;/div&gt;/n&lt;p&gt;&lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-4\\"&gt;[not a link](./path/to/relative/file.md)&lt;/code&gt;&lt;/p&gt;/n&lt;h2 id=\\"subtitle\\"&gt;&lt;a href=\\"1.html#subtitle\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subtitle&lt;/span&gt;&lt;/a&gt;Subtitle&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html\\"&gt;Mermaid usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html#info\\"&gt;Mermaid info&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;Latex usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"includes\\"&gt;noext-link&lt;/a&gt;&lt;/p&gt;/n/n&lt;p&gt;Bob&lt;/p&gt;/n/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"1.md"},"headings":[{"title":"Subtitle","href":"1.html#subtitle","level":2}],"title":"Title"},"router":{"pathname":"1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1409
1368
  </script>
1410
1369
  <script type="application/javascript">
1411
1370
  const data = document.querySelector('script#diplodoc-state');
@@ -1419,7 +1378,7 @@ exports[`Regression > internal 37`] = `
1419
1378
  </html>"
1420
1379
  `;
1421
1380
 
1422
- exports[`Regression > internal 38`] = `
1381
+ exports[`Regression > internal 30`] = `
1423
1382
  "<!DOCTYPE html>
1424
1383
  <html lang="ru" dir="ltr">
1425
1384
  <head>
@@ -1433,7 +1392,7 @@ exports[`Regression > internal 38`] = `
1433
1392
  <body class="g-root g-root_theme_light">
1434
1393
  <div id="root"></div>
1435
1394
  <script type="application/json" id="diplodoc-state">
1436
- {"data":{"leading":false,"html":"&lt;p&gt;Empty title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Circular title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Autotitle from include&lt;/p&gt;/n/n&lt;p&gt;Include with autotitle&lt;/p&gt;/n/n&lt;p&gt;link with &lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term1-1\\" role=\\"button\\" aria-controls=\\":term1-1_element\\" tabindex=\\"0\\" id=\\"term1-1-1\\"&gt;some local term1&lt;/i&gt;&lt;/p&gt;/n&lt;div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-2\\" data-diplodoc-variant=\\"regular\\"&gt;/n&lt;div class=\\"yfm-tab-list\\" role=\\"tablist\\"&gt;/n&lt;div data-diplodoc-id=\\"название-таба-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-3\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\"&gt;Название таба 1&lt;/div&gt;/n&lt;div data-diplodoc-id=\\"название-таба-2\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-4\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\"&gt;Название таба 2&lt;/div&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-3\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\"&gt;/n&lt;p&gt;Текст таба 1.&lt;/p&gt;/n&lt;ul&gt;/n&lt;li&gt;Можно использовать списки.&lt;/li&gt;/n&lt;li&gt;И &lt;strong&gt;другую&lt;/strong&gt; разметку.&lt;/li&gt;/n&lt;/ul&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-4\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\"&gt;/n&lt;p&gt;Текст таба 2.&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;p&gt;All fragments&lt;/p&gt;/n&lt;h3 id=\\"f1\\"&gt;&lt;a href=\\"autotitle.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F1&lt;/span&gt;&lt;/a&gt;F1&lt;/h3&gt;/n&lt;p&gt;Content F1&lt;/p&gt;/n&lt;h2 id=\\"f2\\"&gt;&lt;a href=\\"autotitle.html#f2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F2&lt;/span&gt;&lt;/a&gt;F2&lt;/h2&gt;/n&lt;p&gt;Content F2&lt;/p&gt;/n&lt;h3 id=\\"f2.1\\"&gt;&lt;a href=\\"autotitle.html#f2.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F2.1&lt;/span&gt;&lt;/a&gt;F2.1&lt;/h3&gt;/n&lt;p&gt;Content F2.1&lt;/p&gt;/n&lt;h2 id=\\"f3\\"&gt;&lt;a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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=\\"f4\\"&gt;&lt;a href=\\"autotitle.html#f4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F4&lt;/span&gt;&lt;/a&gt;F4&lt;/h2&gt;/n&lt;p&gt;Content F4&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;h3 id=\\"f4.1\\"&gt;&lt;a href=\\"autotitle.html#f4.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F4.1&lt;/span&gt;&lt;/a&gt;F4.1&lt;/h3&gt;/n&lt;p&gt;link with &lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-1\\"&gt;some term1&lt;/i&gt;&lt;/p&gt;/n&lt;div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-1\\" data-diplodoc-variant=\\"regular\\"&gt;/n&lt;div class=\\"yfm-tab-list\\" role=\\"tablist\\"&gt;/n&lt;div data-diplodoc-id=\\"название-таба-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-1\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\"&gt;Название таба 1&lt;/div&gt;/n&lt;div data-diplodoc-id=\\"название-таба-2\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-2\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\"&gt;Название таба 2&lt;/div&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-1\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\"&gt;/n&lt;p&gt;Текст таба 1.&lt;/p&gt;/n&lt;ul&gt;/n&lt;li&gt;Можно использовать списки.&lt;/li&gt;/n&lt;li&gt;И &lt;strong&gt;другую&lt;/strong&gt; разметку.&lt;/li&gt;/n&lt;/ul&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-2\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\"&gt;/n&lt;p&gt;Текст таба 2.&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"&gt;&lt;p&gt;Some description&lt;/p&gt;/n&lt;/dfn&gt;&lt;h2 id=\\"header\\"&gt;&lt;a href=\\"autotitle.html#header\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Header&lt;/span&gt;&lt;/a&gt;Header&lt;/h2&gt;/n&lt;p&gt;Content2&lt;/p&gt;/n&lt;style&gt;.yfm .border-yes {/n border: 1px solid #ccc;/n border-radius: 10px;/n}&lt;/style&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1-1_element\\" role=\\"dialog\\"&gt;&lt;h2 id=\\"f31\\"&gt;&lt;a href=\\"autotitle.html#f31\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;&lt;a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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;/dfn&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"autotitle.md"},"headings":[{"title":"F2","href":"autotitle.html#f2","level":2,"items":[{"title":"F2.1","href":"autotitle.html#f2.1","level":3}]},{"title":"F3","href":"autotitle.html#f3","level":2},{"title":"F4","href":"autotitle.html#f4","level":2,"items":[{"title":"F4.1","href":"autotitle.html#f4.1","level":3}]},{"title":"Header","href":"autotitle.html#header","level":2},{"title":"F3","href":"autotitle.html#f31","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1395
+ {"data":{"leading":false,"html":"&lt;p&gt;Empty title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Circular title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Autotitle from include&lt;/p&gt;/n/n&lt;p&gt;Include with autotitle&lt;/p&gt;/n/n&lt;p&gt;link with &lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term1-1\\" role=\\"button\\" aria-controls=\\":term1-1_element\\" tabindex=\\"0\\" id=\\"term1-1-1\\"&gt;some local term1&lt;/i&gt;&lt;/p&gt;/n&lt;div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-1\\" data-diplodoc-variant=\\"regular\\"&gt;/n&lt;div class=\\"yfm-tab-list\\" role=\\"tablist\\"&gt;/n&lt;div data-diplodoc-id=\\"название-таба-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-1\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\"&gt;Название таба 1&lt;/div&gt;/n&lt;div data-diplodoc-id=\\"название-таба-2\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-2\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\"&gt;Название таба 2&lt;/div&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-1\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\"&gt;/n&lt;p&gt;Текст таба 1.&lt;/p&gt;/n&lt;ul&gt;/n&lt;li&gt;Можно использовать списки.&lt;/li&gt;/n&lt;li&gt;И &lt;strong&gt;другую&lt;/strong&gt; разметку.&lt;/li&gt;/n&lt;/ul&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-2\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\"&gt;/n&lt;p&gt;Текст таба 2.&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;p&gt;All fragments&lt;/p&gt;/n/n&lt;h3 id=\\"f1\\"&gt;&lt;a href=\\"autotitle.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F1&lt;/span&gt;&lt;/a&gt;F1&lt;/h3&gt;/n&lt;p&gt;Content F1&lt;/p&gt;/n&lt;h2 id=\\"f2\\"&gt;&lt;a href=\\"autotitle.html#f2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F2&lt;/span&gt;&lt;/a&gt;F2&lt;/h2&gt;/n&lt;p&gt;Content F2&lt;/p&gt;/n&lt;h3 id=\\"f2.1\\"&gt;&lt;a href=\\"autotitle.html#f2.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F2.1&lt;/span&gt;&lt;/a&gt;F2.1&lt;/h3&gt;/n&lt;p&gt;Content F2.1&lt;/p&gt;/n&lt;h2 id=\\"f3\\"&gt;&lt;a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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=\\"f4\\"&gt;&lt;a href=\\"autotitle.html#f4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F4&lt;/span&gt;&lt;/a&gt;F4&lt;/h2&gt;/n&lt;p&gt;Content F4&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;h3 id=\\"f4.1\\"&gt;&lt;a href=\\"autotitle.html#f4.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F4.1&lt;/span&gt;&lt;/a&gt;F4.1&lt;/h3&gt;/n&lt;p&gt;link with &lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-1\\"&gt;some term1&lt;/i&gt;&lt;/p&gt;/n&lt;div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-2\\" data-diplodoc-variant=\\"regular\\"&gt;/n&lt;div class=\\"yfm-tab-list\\" role=\\"tablist\\"&gt;/n&lt;div data-diplodoc-id=\\"название-таба-1-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-3\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\"&gt;Название таба 1&lt;/div&gt;/n&lt;div data-diplodoc-id=\\"название-таба-2-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-4\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\"&gt;Название таба 2&lt;/div&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-3\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\"&gt;/n&lt;p&gt;Текст таба 1.&lt;/p&gt;/n&lt;ul&gt;/n&lt;li&gt;Можно использовать списки.&lt;/li&gt;/n&lt;li&gt;И &lt;strong&gt;другую&lt;/strong&gt; разметку.&lt;/li&gt;/n&lt;/ul&gt;/n&lt;/div&gt;/n&lt;div id=\\"regular-4\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\"&gt;/n&lt;p&gt;Текст таба 2.&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n/n&lt;h2 id=\\"header\\"&gt;&lt;a href=\\"autotitle.html#header\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Header&lt;/span&gt;&lt;/a&gt;Header&lt;/h2&gt;/n&lt;p&gt;Content2&lt;/p&gt;/n/n&lt;style&gt;.yfm .border-yes {/n border: 1px solid #ccc;/n border-radius: 10px;/n}&lt;/style&gt;/n/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1-1_element\\" role=\\"dialog\\"&gt;&lt;h2 id=\\"f31\\"&gt;&lt;a href=\\"autotitle.html#f31\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;&lt;a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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;/dfn&gt;&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"&gt;&lt;p&gt;Some description&lt;/p&gt;/n&lt;/dfn&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"autotitle.md"},"headings":[{"title":"F2","href":"autotitle.html#f2","level":2,"items":[{"title":"F2.1","href":"autotitle.html#f2.1","level":3}]},{"title":"F3","href":"autotitle.html#f3","level":2},{"title":"F4","href":"autotitle.html#f4","level":2,"items":[{"title":"F4.1","href":"autotitle.html#f4.1","level":3}]},{"title":"Header","href":"autotitle.html#header","level":2},{"title":"F3","href":"autotitle.html#f31","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1437
1396
  </script>
1438
1397
  <script type="application/javascript">
1439
1398
  const data = document.querySelector('script#diplodoc-state');
@@ -1447,7 +1406,7 @@ exports[`Regression > internal 38`] = `
1447
1406
  </html>"
1448
1407
  `;
1449
1408
 
1450
- exports[`Regression > internal 39`] = `
1409
+ exports[`Regression > internal 31`] = `
1451
1410
  "<!DOCTYPE html>
1452
1411
  <html lang="ru" dir="ltr">
1453
1412
  <head>
@@ -1475,7 +1434,7 @@ exports[`Regression > internal 39`] = `
1475
1434
  </html>"
1476
1435
  `;
1477
1436
 
1478
- exports[`Regression > internal 40`] = `
1437
+ exports[`Regression > internal 32`] = `
1479
1438
  "<!DOCTYPE html>
1480
1439
  <html lang="ru" dir="ltr">
1481
1440
  <head>
@@ -1503,7 +1462,7 @@ exports[`Regression > internal 40`] = `
1503
1462
  </html>"
1504
1463
  `;
1505
1464
 
1506
- exports[`Regression > internal 41`] = `
1465
+ exports[`Regression > internal 33`] = `
1507
1466
  "<!DOCTYPE html>
1508
1467
  <html lang="ru" dir="ltr">
1509
1468
  <head>
@@ -1531,7 +1490,7 @@ exports[`Regression > internal 41`] = `
1531
1490
  </html>"
1532
1491
  `;
1533
1492
 
1534
- exports[`Regression > internal 42`] = `
1493
+ exports[`Regression > internal 34`] = `
1535
1494
  "<!DOCTYPE html>
1536
1495
  <html lang="ru" dir="ltr">
1537
1496
  <head>
@@ -1559,7 +1518,7 @@ exports[`Regression > internal 42`] = `
1559
1518
  </html>"
1560
1519
  `;
1561
1520
 
1562
- exports[`Regression > internal 43`] = `
1521
+ exports[`Regression > internal 35`] = `
1563
1522
  "<!DOCTYPE html>
1564
1523
  <html lang="ru" dir="ltr">
1565
1524
  <head>
@@ -1587,7 +1546,7 @@ exports[`Regression > internal 43`] = `
1587
1546
  </html>"
1588
1547
  `;
1589
1548
 
1590
- exports[`Regression > internal 44`] = `
1549
+ exports[`Regression > internal 36`] = `
1591
1550
  "<!DOCTYPE html>
1592
1551
  <html lang="ru" dir="ltr">
1593
1552
  <head>
@@ -1615,7 +1574,7 @@ exports[`Regression > internal 44`] = `
1615
1574
  </html>"
1616
1575
  `;
1617
1576
 
1618
- exports[`Regression > internal 45`] = `
1577
+ exports[`Regression > internal 37`] = `
1619
1578
  "<!DOCTYPE html>
1620
1579
  <html lang="ru" dir="ltr">
1621
1580
  <head>
@@ -1643,7 +1602,7 @@ exports[`Regression > internal 45`] = `
1643
1602
  </html>"
1644
1603
  `;
1645
1604
 
1646
- exports[`Regression > internal 46`] = `
1605
+ exports[`Regression > internal 38`] = `
1647
1606
  "<!DOCTYPE html>
1648
1607
  <html lang="ru" dir="ltr">
1649
1608
  <head>
@@ -1671,7 +1630,7 @@ exports[`Regression > internal 46`] = `
1671
1630
  </html>"
1672
1631
  `;
1673
1632
 
1674
- exports[`Regression > internal 47`] = `
1633
+ exports[`Regression > internal 39`] = `
1675
1634
  "<!DOCTYPE html>
1676
1635
  <html lang="ru" dir="ltr">
1677
1636
  <head>
@@ -1699,7 +1658,7 @@ exports[`Regression > internal 47`] = `
1699
1658
  </html>"
1700
1659
  `;
1701
1660
 
1702
- exports[`Regression > internal 48`] = `
1661
+ exports[`Regression > internal 40`] = `
1703
1662
  "<!DOCTYPE html>
1704
1663
  <html lang="ru" dir="ltr">
1705
1664
  <head>
@@ -1713,7 +1672,7 @@ exports[`Regression > internal 48`] = `
1713
1672
  <body class="g-root g-root_theme_light">
1714
1673
  <div id="root"></div>
1715
1674
  <script type="application/json" id="diplodoc-state">
1716
- {"data":{"leading":false,"html":"&lt;p&gt;This file includes another file that is also an entry.&lt;/p&gt;/n&lt;h1&gt;Entry that is also used as include&lt;/h1&gt;/n&lt;p&gt;This file is both an entry (in toc) and included by another file.&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includer-of-entry.md"},"headings":[],"title":"Includer of entry"},"router":{"pathname":"includer-of-entry","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1675
+ {"data":{"leading":false,"html":"&lt;p&gt;This file includes another file that is also an entry.&lt;/p&gt;/n/n&lt;h1&gt;Entry that is also used as include&lt;/h1&gt;/n&lt;p&gt;This file is both an entry (in toc) and included by another file.&lt;/p&gt;/n/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includer-of-entry.md"},"headings":[],"title":"Includer of entry"},"router":{"pathname":"includer-of-entry","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1717
1676
  </script>
1718
1677
  <script type="application/javascript">
1719
1678
  const data = document.querySelector('script#diplodoc-state');
@@ -1727,7 +1686,7 @@ exports[`Regression > internal 48`] = `
1727
1686
  </html>"
1728
1687
  `;
1729
1688
 
1730
- exports[`Regression > internal 49`] = `
1689
+ exports[`Regression > internal 41`] = `
1731
1690
  "<!DOCTYPE html>
1732
1691
  <html lang="ru" dir="ltr">
1733
1692
  <head>
@@ -1741,7 +1700,7 @@ exports[`Regression > internal 49`] = `
1741
1700
  <body class="g-root g-root_theme_light">
1742
1701
  <div id="root"></div>
1743
1702
  <script type="application/json" id="diplodoc-state">
1744
- {"data":{"leading":false,"html":"&lt;p&gt;Text&lt;/p&gt;/n&lt;p&gt;Bob&lt;/p&gt;/n&lt;p&gt;Test&lt;/p&gt;/n&lt;h3 id=\\"f1\\"&gt;&lt;a href=\\"includes.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F1&lt;/span&gt;&lt;/a&gt;F1&lt;/h3&gt;/n&lt;p&gt;Content F1&lt;/p&gt;/n&lt;h2 id=\\"f2\\"&gt;&lt;a href=\\"includes.html#f2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F2&lt;/span&gt;&lt;/a&gt;F2&lt;/h2&gt;/n&lt;p&gt;Content F2&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n&lt;p&gt;Bob&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;&lt;img src=\\"_assets/3.png\\" alt=\\"img 3\\" /&gt;&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;sup&gt;&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID-2\\"&gt;?&lt;/i&gt;&lt;/sup&gt;&lt;/p&gt;/n&lt;p&gt;[&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID-1\\"&gt;?&lt;/i&gt;](http://ya.ru)&lt;/p&gt;/n&lt;p&gt;&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-2\\"&gt;Term 1&lt;/i&gt; &lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term2\\" role=\\"button\\" aria-controls=\\":term2_element\\" tabindex=\\"0\\" id=\\"term2-1\\"&gt;Term 2&lt;/i&gt;&lt;/p&gt;/n&lt;p&gt;Link after include&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Autotitle include&lt;/p&gt;/n/n&lt;p&gt;Link after include&lt;/p&gt;/n&lt;h2 id=\\"mermaid\\"&gt;&lt;a href=\\"includes.html#mermaid\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Mermaid&lt;/span&gt;&lt;/a&gt;Mermaid&lt;/h2&gt;/n&lt;h1&gt;Mermaid usage&lt;/h1&gt;/n&lt;div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"&gt;&lt;/div&gt;&lt;h2 id=\\"info\\"&gt;&lt;a href=\\"includes.html#info\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Mermaid info&lt;/span&gt;&lt;/a&gt;Mermaid info&lt;/h2&gt;/n&lt;p&gt;Some mermaid info&lt;/p&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term_element\\" role=\\"dialog\\"&gt;&lt;p&gt;Test terms&lt;/p&gt;/n&lt;/dfn&gt;&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"&gt;&lt;h2 id=\\"f3\\"&gt;&lt;a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;&lt;a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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;/dfn&gt;&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term2_element\\" role=\\"dialog\\"&gt;&lt;h2 id=\\"f31\\"&gt;&lt;a href=\\"includes.html#f31\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;&lt;a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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;/dfn&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":["_bundle/mermaid-extension.js"],"vcsPath":"includes.md"},"headings":[{"title":"F2","href":"includes.html#f2","level":2},{"title":"Mermaid","href":"includes.html#mermaid","level":2},{"title":"Mermaid info","href":"includes.html#info","level":2},{"title":"F3","href":"includes.html#f3","level":2},{"title":"F3","href":"includes.html#f31","level":2}],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1703
+ {"data":{"leading":false,"html":"&lt;p&gt;Text&lt;/p&gt;/n/n&lt;p&gt;Bob&lt;/p&gt;/n/n/n&lt;p&gt;Test&lt;/p&gt;/n/n/n&lt;h3 id=\\"f1\\"&gt;&lt;a href=\\"includes.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F1&lt;/span&gt;&lt;/a&gt;F1&lt;/h3&gt;/n&lt;p&gt;Content F1&lt;/p&gt;/n&lt;h2 id=\\"f2\\"&gt;&lt;a href=\\"includes.html#f2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F2&lt;/span&gt;&lt;/a&gt;F2&lt;/h2&gt;/n&lt;p&gt;Content F2&lt;/p&gt;/n/n/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n/n/n/n&lt;p&gt;Bob&lt;/p&gt;/n/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;&lt;img src=\\"_assets/3.png\\" alt=\\"img 3\\" /&gt;&lt;/a&gt;&lt;/p&gt;/n/n&lt;p&gt;&lt;sup&gt;&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID-2\\"&gt;?&lt;/i&gt;&lt;/sup&gt;&lt;/p&gt;/n&lt;p&gt;[&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID-1\\"&gt;?&lt;/i&gt;](http://ya.ru)&lt;/p&gt;/n&lt;p&gt;&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-1\\"&gt;Term 1&lt;/i&gt; &lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term2\\" role=\\"button\\" aria-controls=\\":term2_element\\" tabindex=\\"0\\" id=\\"term2-1\\"&gt;Term 2&lt;/i&gt;&lt;/p&gt;/n&lt;p&gt;Link after include&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Autotitle include&lt;/p&gt;/n/n&lt;p&gt;Link after include&lt;/p&gt;/n&lt;h2 id=\\"mermaid\\"&gt;&lt;a href=\\"includes.html#mermaid\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Mermaid&lt;/span&gt;&lt;/a&gt;Mermaid&lt;/h2&gt;/n/n&lt;h1&gt;Mermaid usage&lt;/h1&gt;/n&lt;div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"&gt;&lt;/div&gt;&lt;h2 id=\\"info\\"&gt;&lt;a href=\\"includes.html#info\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Mermaid info&lt;/span&gt;&lt;/a&gt;Mermaid info&lt;/h2&gt;/n&lt;p&gt;Some mermaid info&lt;/p&gt;/n/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term_element\\" role=\\"dialog\\"&gt;&lt;p&gt;Test terms&lt;/p&gt;/n&lt;/dfn&gt;&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"&gt;&lt;h2 id=\\"f3\\"&gt;&lt;a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;&lt;a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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;/dfn&gt;&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term2_element\\" role=\\"dialog\\"&gt;&lt;h2 id=\\"f31\\"&gt;&lt;a href=\\"includes.html#f31\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;&lt;a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F3&lt;/span&gt;&lt;/a&gt;F3&lt;/h2&gt;/n&lt;p&gt;Content F3&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;/dfn&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"includes.md"},"headings":[{"title":"F2","href":"includes.html#f2","level":2},{"title":"Mermaid","href":"includes.html#mermaid","level":2},{"title":"Mermaid info","href":"includes.html#info","level":2},{"title":"F3","href":"includes.html#f3","level":2},{"title":"F3","href":"includes.html#f31","level":2}],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1745
1704
  </script>
1746
1705
  <script type="application/javascript">
1747
1706
  const data = document.querySelector('script#diplodoc-state');
@@ -1755,7 +1714,7 @@ exports[`Regression > internal 49`] = `
1755
1714
  </html>"
1756
1715
  `;
1757
1716
 
1758
- exports[`Regression > internal 50`] = `
1717
+ exports[`Regression > internal 42`] = `
1759
1718
  "<!DOCTYPE html>
1760
1719
  <html lang="ru" dir="ltr">
1761
1720
  <head>
@@ -1783,7 +1742,7 @@ exports[`Regression > internal 50`] = `
1783
1742
  </html>"
1784
1743
  `;
1785
1744
 
1786
- exports[`Regression > internal 51`] = `
1745
+ exports[`Regression > internal 43`] = `
1787
1746
  "<!DOCTYPE html>
1788
1747
  <html lang="ru" dir="ltr">
1789
1748
  <head>
@@ -1811,7 +1770,7 @@ exports[`Regression > internal 51`] = `
1811
1770
  </html>"
1812
1771
  `;
1813
1772
 
1814
- exports[`Regression > internal 52`] = `
1773
+ exports[`Regression > internal 44`] = `
1815
1774
  "<!DOCTYPE html>
1816
1775
  <html lang="ru" dir="ltr">
1817
1776
  <head>
@@ -1839,7 +1798,7 @@ exports[`Regression > internal 52`] = `
1839
1798
  </html>"
1840
1799
  `;
1841
1800
 
1842
- exports[`Regression > internal 53`] = `
1801
+ exports[`Regression > internal 45`] = `
1843
1802
  "<!DOCTYPE html>
1844
1803
  <html lang="ru" dir="ltr">
1845
1804
  <head>
@@ -1853,7 +1812,7 @@ exports[`Regression > internal 53`] = `
1853
1812
  <body class="g-root g-root_theme_light">
1854
1813
  <div id="root"></div>
1855
1814
  <script type="application/json" id="diplodoc-state">
1856
- {"data":{"leading":false,"html":"&lt;p&gt;&lt;a href=\\"merge/merged.html\\"&gt;merged&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Tool: Hammer and Laser&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"merge/merge.md"},"headings":[],"title":"Should use merged item"},"router":{"pathname":"merge/merge","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1815
+ {"data":{"leading":false,"html":"&lt;p&gt;&lt;a href=\\"merge/merged.html\\"&gt;merged&lt;/a&gt;&lt;/p&gt;/n/n&lt;p&gt;Tool: Hammer and Laser&lt;/p&gt;/n/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"merge/merge.md"},"headings":[],"title":"Should use merged item"},"router":{"pathname":"merge/merge","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1857
1816
  </script>
1858
1817
  <script type="application/javascript">
1859
1818
  const data = document.querySelector('script#diplodoc-state');
@@ -1867,7 +1826,7 @@ exports[`Regression > internal 53`] = `
1867
1826
  </html>"
1868
1827
  `;
1869
1828
 
1870
- exports[`Regression > internal 54`] = `
1829
+ exports[`Regression > internal 46`] = `
1871
1830
  "<!DOCTYPE html>
1872
1831
  <html lang="ru" dir="ltr">
1873
1832
  <head>
@@ -1895,9 +1854,9 @@ exports[`Regression > internal 54`] = `
1895
1854
  </html>"
1896
1855
  `;
1897
1856
 
1898
- exports[`Regression > internal 55`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Multitoc item","href":"1.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
1857
+ exports[`Regression > internal 47`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Multitoc item","href":"1.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
1899
1858
 
1900
- exports[`Regression > internal 56`] = `
1859
+ exports[`Regression > internal 48`] = `
1901
1860
  "<!DOCTYPE html>
1902
1861
  <html lang="ru" dir="ltr">
1903
1862
  <head>
@@ -1925,7 +1884,7 @@ exports[`Regression > internal 56`] = `
1925
1884
  </html>"
1926
1885
  `;
1927
1886
 
1928
- exports[`Regression > internal 57`] = `
1887
+ exports[`Regression > internal 49`] = `
1929
1888
  "<!DOCTYPE html>
1930
1889
  <html lang="ru" dir="ltr">
1931
1890
  <head>
@@ -1953,7 +1912,7 @@ exports[`Regression > internal 57`] = `
1953
1912
  </html>"
1954
1913
  `;
1955
1914
 
1956
- exports[`Regression > internal 58`] = `
1915
+ exports[`Regression > internal 50`] = `
1957
1916
  "<!DOCTYPE html>
1958
1917
  <html lang="ru" dir="ltr">
1959
1918
  <head>
@@ -1981,7 +1940,7 @@ exports[`Regression > internal 58`] = `
1981
1940
  </html>"
1982
1941
  `;
1983
1942
 
1984
- exports[`Regression > internal 59`] = `
1943
+ exports[`Regression > internal 51`] = `
1985
1944
  "<!DOCTYPE html>
1986
1945
  <html lang="ru" dir="ltr">
1987
1946
  <head>
@@ -2009,7 +1968,7 @@ exports[`Regression > internal 59`] = `
2009
1968
  </html>"
2010
1969
  `;
2011
1970
 
2012
- exports[`Regression > internal 60`] = `
1971
+ exports[`Regression > internal 52`] = `
2013
1972
  "<!DOCTYPE html>
2014
1973
  <html lang="ru" dir="ltr">
2015
1974
  <head>
@@ -2037,7 +1996,7 @@ exports[`Regression > internal 60`] = `
2037
1996
  </html>"
2038
1997
  `;
2039
1998
 
2040
- exports[`Regression > internal 61`] = `
1999
+ exports[`Regression > internal 53`] = `
2041
2000
  "<!DOCTYPE html>
2042
2001
  <html lang="ru" dir="ltr">
2043
2002
  <head>
@@ -2065,4 +2024,4 @@ exports[`Regression > internal 61`] = `
2065
2024
  </html>"
2066
2025
  `;
2067
2026
 
2068
- exports[`Regression > internal 62`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Multitoc item","href":"merge/merged.html","id":"UUID"},{"name":"Fragments","href":"includes/fragments.html","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"Entry as include","href":"entry-as-include.html","id":"UUID"},{"name":"Includer of entry","href":"includer-of-entry.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"},{"href":"openapi/test-controller/getHiddenTest.html","name":"Test x-hidden attribute","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
2027
+ exports[`Regression > internal 54`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Multitoc item","href":"merge/merged.html","id":"UUID"},{"name":"Fragments","href":"includes/fragments.html","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"Entry as include","href":"entry-as-include.html","id":"UUID"},{"name":"Includer of entry","href":"includer-of-entry.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"},{"href":"openapi/test-controller/getHiddenTest.html","name":"Test x-hidden attribute","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;