@diplodoc/cli-tests 5.28.0 → 5.29.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.
@@ -151,7 +151,7 @@ exports[`Check bundles > bundles list is correct 4`] = `
151
151
  <body class="g-root g-root_theme_light">
152
152
  <div id="root"></div>
153
153
  <script type="application/json" id="diplodoc-state">
154
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2.html#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2.html#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
154
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2.html#hash\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2.html#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
155
155
  </script>
156
156
  <script type="application/javascript">
157
157
  const data = document.querySelector('script#diplodoc-state');
@@ -100,7 +100,7 @@ exports[`Static files from _assets directory > Download link should be enabled 4
100
100
  <body class="g-root g-root_theme_light">
101
101
  <div id="root"></div>
102
102
  <script type="application/json" id="diplodoc-state">
103
- {"data":{"leading":false,"html":"&lt;h3 id=\\"download-static-file\\"&gt;&lt;a href=\\"index.html#download-static-file\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Download static file&lt;/span&gt;&lt;/a&gt;Download static file&lt;/h3&gt;/n&lt;p&gt;Текст &lt;a href=\\"_assets/test.yaml\\" download=\\"Configuration File\\" class=\\"yfm-file\\"&gt;&lt;span class=\\"yfm-file__icon\\"&gt;&lt;/span&gt;Configuration File&lt;/a&gt; потом текст&lt;/p&gt;/n&lt;p&gt;Текс &lt;a href=\\"_assets/test.yaml\\" download=\\"Config\\"&gt;Скачать&lt;/a&gt; потом текст&lt;/p&gt;/n&lt;p&gt;Текс &lt;a href=\\"_assets/test.yaml\\" download=\\"Config\\"&gt;Download&lt;/a&gt; потом текст&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"pc-index.html\\"&gt;Link to pc page&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/file-extension.css"],"vcsPath":"index.md"},"headings":[],"title":""},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
103
+ {"data":{"leading":false,"html":"&lt;h3 id=\\"download-static-file\\"&gt;&lt;a href=\\"index.html#download-static-file\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Download static file&lt;/span&gt;&lt;/a&gt;Download static file&lt;/h3&gt;/n&lt;p&gt;Текст &lt;a href=\\"_assets/test.yaml\\" download=\\"Configuration File\\" class=\\"yfm-file\\"&gt;&lt;span class=\\"yfm-file__icon\\"&gt;&lt;/span&gt;Configuration File&lt;/a&gt; потом текст&lt;/p&gt;/n&lt;p&gt;Текс &lt;a href=\\"_assets/test.yaml\\" download=\\"Config\\"&gt;Скачать&lt;/a&gt; потом текст&lt;/p&gt;/n&lt;p&gt;Текс &lt;a href=\\"_assets/test.yaml\\" download=\\"Config\\"&gt;Download&lt;/a&gt; потом текст&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"pc-index.html\\"&gt;Link to pc page&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/file-extension.css"],"vcsPath":"index.md"},"headings":[],"title":""},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
104
104
  </script>
105
105
  <script type="application/javascript">
106
106
  const data = document.querySelector('script#diplodoc-state');
@@ -389,7 +389,7 @@ exports[`Includes > Various include scenarios 17`] = `
389
389
  <body class="g-root g-root_theme_light">
390
390
  <div id="root"></div>
391
391
  <script type="application/json" id="diplodoc-state">
392
- {"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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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=\\"index.html#include-from-level2\\" class=\\"yfm-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\\" 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=\\"index.html#section3\\" class=\\"yfm-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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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=\\"deep-nested-includes\\"&gt;&lt;a href=\\"index.html#deep-nested-includes\\" class=\\"yfm-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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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":"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#section3","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":"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}}
392
+ {"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=\\"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=\\"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-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=\\"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":"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#section3","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":"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}}
393
393
  </script>
394
394
  <script type="application/javascript">
395
395
  const data = document.querySelector('script#diplodoc-state');
@@ -417,7 +417,7 @@ exports[`Includes > Various include scenarios 18`] = `
417
417
  <body class="g-root g-root_theme_light">
418
418
  <div id="root"></div>
419
419
  <script type="application/json" id="diplodoc-state">
420
- {"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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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-root\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-from-root\\" class=\\"yfm-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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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\\" 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-anchor4\\"&gt;&lt;a href=\\"level1/level2/page2.html#include-with-anchor4\\" class=\\"yfm-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=\\"section31\\"&gt;&lt;a id=\\"section3\\" href=\\"level1/level2/page2.html#section3\\" class=\\"yfm-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":"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":"Include with anchor","href":"level1/level2/page2.html#include-with-anchor4","level":2},{"title":"Section 3","href":"level1/level2/page2.html#section31","level":2}],"title":"Page 2"},"router":{"pathname":"level1/level2/page2","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
420
+ {"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=\\"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=\\"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=\\"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","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":"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":"Include with anchor","href":"level1/level2/page2.html#include-with-anchor4","level":2},{"title":"Section 3","href":"level1/level2/page2.html#section31","level":2}],"title":"Page 2"},"router":{"pathname":"level1/level2/page2","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
421
421
  </script>
422
422
  <script type="application/javascript">
423
423
  const data = document.querySelector('script#diplodoc-state');
@@ -445,7 +445,7 @@ exports[`Includes > Various include scenarios 19`] = `
445
445
  <body class="g-root g-root_theme_light">
446
446
  <div id="root"></div>
447
447
  <script type="application/json" id="diplodoc-state">
448
- {"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\\" 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\\" 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\\" 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-root\\"&gt;&lt;a href=\\"level1/page1.html#include-from-root\\" class=\\"yfm-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\\" 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\\" 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\\" 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\\" 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\\" 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/page1.html#section3\\" class=\\"yfm-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\\" 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\\" 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\\" 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\\" 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-anchor4\\"&gt;&lt;a href=\\"level1/page1.html#include-with-anchor4\\" class=\\"yfm-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\\" 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","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":"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#section3","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":"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":"Page 1"},"router":{"pathname":"level1/page1","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
448
+ {"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=\\"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=\\"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=\\"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=\\"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","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":"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#section3","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":"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":"Page 1"},"router":{"pathname":"level1/page1","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
449
449
  </script>
450
450
  <script type="application/javascript">
451
451
  const data = document.querySelector('script#diplodoc-state');
@@ -473,7 +473,7 @@ exports[`Includes > Various include scenarios 20`] = `
473
473
  <body class="g-root g-root_theme_light">
474
474
  <div id="root"></div>
475
475
  <script type="application/json" id="diplodoc-state">
476
- {"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\\" 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\\" 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}}
476
+ {"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}}
477
477
  </script>
478
478
  <script type="application/javascript">
479
479
  const data = document.querySelector('script#diplodoc-state');
@@ -180,7 +180,7 @@ exports[`Neuro-expert > Neuro-expert 6`] = `
180
180
  <body class="g-root g-root_theme_light">
181
181
  <div id="root"></div>
182
182
  <script type="application/json" id="diplodoc-state">
183
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"en/page2.html#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"en/folder/index.html\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2.html","hreflang":"en"},{"href":"ru/page2.html","hreflang":"ru"}],"canonical":"en/page2.html","vcsPath":"en/page2.md"},"headings":[{"title":"hash","href":"en/page2.html#hash","level":2}],"title":"Page 2"},"router":{"pathname":"en/page2","depth":2,"base":"../"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
183
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"en/page2.html#hash\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"en/folder/index.html\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2.html","hreflang":"en"},{"href":"ru/page2.html","hreflang":"ru"}],"canonical":"en/page2.html","vcsPath":"en/page2.md"},"headings":[{"title":"hash","href":"en/page2.html#hash","level":2}],"title":"Page 2"},"router":{"pathname":"en/page2","depth":2,"base":"../"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
184
184
  </script>
185
185
  <script type="application/javascript">
186
186
  const data = document.querySelector('script#diplodoc-state');
@@ -446,7 +446,7 @@ exports[`Neuro-expert > Neuro-expert 13`] = `
446
446
  <body class="g-root g-root_theme_light">
447
447
  <div id="root"></div>
448
448
  <script type="application/json" id="diplodoc-state">
449
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hesh\\"&gt;&lt;a href=\\"ru/page2.html#hesh\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;хэш&lt;/span&gt;&lt;/a&gt;хэш&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"ru/folder/index.html\\"&gt;Ссылка&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;Внешняя ссылка&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2.html","hreflang":"en"},{"href":"ru/page2.html","hreflang":"ru"}],"canonical":"ru/page2.html","vcsPath":"ru/page2.md"},"headings":[{"title":"хэш","href":"ru/page2.html#hesh","level":2}],"title":"Страница 2"},"router":{"pathname":"ru/page2","depth":2,"base":"../"},"lang":"ru","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
449
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hesh\\"&gt;&lt;a href=\\"ru/page2.html#hesh\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;хэш&lt;/span&gt;&lt;/a&gt;хэш&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"ru/folder/index.html\\"&gt;Ссылка&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;Внешняя ссылка&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2.html","hreflang":"en"},{"href":"ru/page2.html","hreflang":"ru"}],"canonical":"ru/page2.html","vcsPath":"ru/page2.md"},"headings":[{"title":"хэш","href":"ru/page2.html#hesh","level":2}],"title":"Страница 2"},"router":{"pathname":"ru/page2","depth":2,"base":"../"},"lang":"ru","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
450
450
  </script>
451
451
  <script type="application/javascript">
452
452
  const data = document.querySelector('script#diplodoc-state');
@@ -94,7 +94,7 @@ exports[`Pdf page mode > creates a pdf folder when the --pdf flag is specified 2
94
94
  <body class="g-root g-root_theme_light">
95
95
  <div id="root"></div>
96
96
  <script type="application/json" id="diplodoc-state">
97
- {"data":{"leading":false,"pdfTitlePages":{"content":"","pageCount":0},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"index.html\\"&gt;Header&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#index\\" id=\\"index\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Content&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"#page1\\"&gt;Link 1&lt;/a&gt;&lt;br&gt;/n&lt;a href=\\"page2.html\\"&gt;Link 2&lt;/a&gt;&lt;/p&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 id=\\"syntax_test_syntax-page\\" data-original-article=\\"syntax/test.html\\"&gt;&lt;a href=\\"#syntax_test_syntax-page\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Syntax page&lt;/span&gt;&lt;/a&gt;Syntax page&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#syntax_test\\" id=\\"syntax_test\\"&gt;&lt;/a&gt;&lt;/h2&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"page1.html\\"&gt;Page 1&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;a href=\\"page2.html#hash\\"&gt;Link&lt;/a&gt;&lt;/p&gt;/n&lt;h4 id=\\"page1_include-link-page\\"&gt;&lt;a href=\\"#page1_include-link-page\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include link page&lt;/span&gt;&lt;/a&gt;Include link page&lt;/h4&gt;/n&lt;p&gt;&lt;a href=\\"#syntax_test\\"&gt;link&lt;/a&gt;&lt;/p&gt;/n&lt;/div&gt;","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Skip html extension"},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
97
+ {"data":{"leading":false,"pdfTitlePages":{"content":"","pageCount":0},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"index.html\\"&gt;Header&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#index\\" id=\\"index\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Content&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"#page1\\"&gt;Link 1&lt;/a&gt;&lt;br&gt;/n&lt;a href=\\"page2.html\\"&gt;Link 2&lt;/a&gt;&lt;/p&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 id=\\"syntax_test_syntax-page\\" data-original-article=\\"syntax/test.html\\"&gt;&lt;a href=\\"#syntax_test_syntax-page\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Syntax page&lt;/span&gt;&lt;/a&gt;Syntax page&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#syntax_test\\" id=\\"syntax_test\\"&gt;&lt;/a&gt;&lt;/h2&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"page1.html\\"&gt;Page 1&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;a href=\\"page2.html#hash\\"&gt;Link&lt;/a&gt;&lt;/p&gt;/n&lt;h4 id=\\"page1_include-link-page\\"&gt;&lt;a href=\\"#page1_include-link-page\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include link page&lt;/span&gt;&lt;/a&gt;Include link page&lt;/h4&gt;/n&lt;p&gt;&lt;a href=\\"#syntax_test\\"&gt;link&lt;/a&gt;&lt;/p&gt;/n&lt;/div&gt;","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Skip html extension"},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
98
98
  </script>
99
99
  <script type="application/javascript">
100
100
  const data = document.querySelector('script#diplodoc-state');
@@ -108,7 +108,7 @@ exports[`Pdf page mode > creates a pdf folder when the --pdf flag is specified 2
108
108
  </html>"
109
109
  `;
110
110
 
111
- exports[`Pdf page mode > creates a pdf folder when the --pdf flag is specified 3`] = `"{"data":{"leading":false,"pdfTitlePages":{"content":"","pageCount":0},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"<div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"index.html\\">Header<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#index\\" id=\\"index\\"></a></h2><p>Content</p>/n<p><a href=\\"#page1\\">Link 1</a><br>/n<a href=\\"page2.html\\">Link 2</a></p>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 id=\\"syntax_test_syntax-page\\" data-original-article=\\"syntax/test.html\\"><a href=\\"#syntax_test_syntax-page\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Syntax page</span></a>Syntax page<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#syntax_test\\" id=\\"syntax_test\\"></a></h2>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"page1.html\\">Page 1<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"></a></h2><p><a href=\\"page2.html#hash\\">Link</a></p>/n<h4 id=\\"page1_include-link-page\\"><a href=\\"#page1_include-link-page\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include link page</span></a>Include link page</h4>/n<p><a href=\\"#syntax_test\\">link</a></p>/n</div>","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Skip html extension","toc":{"title":"Skip html extension","href":"index.html","items":[{"name":"Syntax","href":"syntax/test.html","id":"UUID"},{"name":"Title 1","href":"page1.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"}},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}"`;
111
+ exports[`Pdf page mode > creates a pdf folder when the --pdf flag is specified 3`] = `"{"data":{"leading":false,"pdfTitlePages":{"content":"","pageCount":0},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"<div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"index.html\\">Header<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#index\\" id=\\"index\\"></a></h2><p>Content</p>/n<p><a href=\\"#page1\\">Link 1</a><br>/n<a href=\\"page2.html\\">Link 2</a></p>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 id=\\"syntax_test_syntax-page\\" data-original-article=\\"syntax/test.html\\"><a href=\\"#syntax_test_syntax-page\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Syntax page</span></a>Syntax page<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#syntax_test\\" id=\\"syntax_test\\"></a></h2>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"page1.html\\">Page 1<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"></a></h2><p><a href=\\"page2.html#hash\\">Link</a></p>/n<h4 id=\\"page1_include-link-page\\"><a href=\\"#page1_include-link-page\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include link page</span></a>Include link page</h4>/n<p><a href=\\"#syntax_test\\">link</a></p>/n</div>","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Skip html extension","toc":{"title":"Skip html extension","href":"index.html","items":[{"name":"Syntax","href":"syntax/test.html","id":"UUID"},{"name":"Title 1","href":"page1.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"}},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}"`;
112
112
 
113
113
  exports[`Pdf page mode > creates pdf-page.json for each standalone toc > filelist 1`] = `
114
114
  "[
@@ -153,7 +153,7 @@ exports[`Pdf page with titles > Generates content for pdf genrator with title pa
153
153
  <body class="g-root g-root_theme_light">
154
154
  <div id="root"></div>
155
155
  <script type="application/json" id="diplodoc-state">
156
- {"data":{"leading":false,"pdfTitlePages":{"content":"&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 id=\\"pdf-titles_pdf-title-page1_pdf-title-page-1\\" data-original-article=\\"./pdf-titles/pdf-title-page1.html\\"&gt;&lt;a href=\\"#pdf-titles_pdf-title-page1_pdf-title-page-1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Pdf title page 1&lt;/span&gt;&lt;/a&gt;Pdf title page 1&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#pdf-titles_pdf-title-page1\\" id=\\"pdf-titles_pdf-title-page1\\"&gt;&lt;/a&gt;&lt;/h2&gt;/n&lt;p&gt;Should be able to use variables pdf&lt;/p&gt;/n&lt;p&gt;Should be able to use link to other pages &lt;a href=\\"#page1\\"&gt;test&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Should be able to use inlcudes&lt;/p&gt;/n&lt;h4 id=\\"pdf-titles_pdf-title-page1_include-pdf-title\\"&gt;&lt;a href=\\"#pdf-titles_pdf-title-page1_include-pdf-title\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include Pdf title&lt;/span&gt;&lt;/a&gt;Include Pdf title&lt;/h4&gt;/n&lt;p&gt;Should be able to resolve liquid syntax&lt;/p&gt;/n&lt;p&gt;should be visible&lt;/p&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;div class=\\"pdf-title-page-wrapper\\"&gt;/n &lt;p&gt;Lorem ipsum title page with var pdf&lt;/p&gt;/n&lt;/div&gt;&lt;/div&gt;","pageCount":2},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"page1.html\\"&gt;Page 1&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Page 1 content&lt;/p&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"page2.html\\"&gt;Page 2&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page2\\" id=\\"page2\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Page 2 content&lt;/p&gt;/n&lt;/div&gt;","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["__assets/start-page.css"]},"title":"Pdf title pages"},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
156
+ {"data":{"leading":false,"pdfTitlePages":{"content":"&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 id=\\"pdf-titles_pdf-title-page1_pdf-title-page-1\\" data-original-article=\\"./pdf-titles/pdf-title-page1.html\\"&gt;&lt;a href=\\"#pdf-titles_pdf-title-page1_pdf-title-page-1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Pdf title page 1&lt;/span&gt;&lt;/a&gt;Pdf title page 1&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#pdf-titles_pdf-title-page1\\" id=\\"pdf-titles_pdf-title-page1\\"&gt;&lt;/a&gt;&lt;/h2&gt;/n&lt;p&gt;Should be able to use variables pdf&lt;/p&gt;/n&lt;p&gt;Should be able to use link to other pages &lt;a href=\\"#page1\\"&gt;test&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Should be able to use inlcudes&lt;/p&gt;/n&lt;h4 id=\\"pdf-titles_pdf-title-page1_include-pdf-title\\"&gt;&lt;a href=\\"#pdf-titles_pdf-title-page1_include-pdf-title\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Include Pdf title&lt;/span&gt;&lt;/a&gt;Include Pdf title&lt;/h4&gt;/n&lt;p&gt;Should be able to resolve liquid syntax&lt;/p&gt;/n&lt;p&gt;should be visible&lt;/p&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;div class=\\"pdf-title-page-wrapper\\"&gt;/n &lt;p&gt;Lorem ipsum title page with var pdf&lt;/p&gt;/n&lt;/div&gt;&lt;/div&gt;","pageCount":2},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"page1.html\\"&gt;Page 1&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Page 1 content&lt;/p&gt;/n&lt;/div&gt;&lt;div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"&gt;&lt;h2 data-original-article=\\"page2.html\\"&gt;Page 2&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page2\\" id=\\"page2\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Page 2 content&lt;/p&gt;/n&lt;/div&gt;","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["__assets/start-page.css"]},"title":"Pdf title pages"},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
157
157
  </script>
158
158
  <script type="application/javascript">
159
159
  const data = document.querySelector('script#diplodoc-state');
@@ -167,7 +167,7 @@ exports[`Pdf page with titles > Generates content for pdf genrator with title pa
167
167
  </html>"
168
168
  `;
169
169
 
170
- exports[`Pdf page with titles > Generates content for pdf genrator with title pages 3`] = `"{"data":{"leading":false,"pdfTitlePages":{"content":"<div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 id=\\"pdf-titles_pdf-title-page1_pdf-title-page-1\\" data-original-article=\\"./pdf-titles/pdf-title-page1.html\\"><a href=\\"#pdf-titles_pdf-title-page1_pdf-title-page-1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Pdf title page 1</span></a>Pdf title page 1<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#pdf-titles_pdf-title-page1\\" id=\\"pdf-titles_pdf-title-page1\\"></a></h2>/n<p>Should be able to use variables pdf</p>/n<p>Should be able to use link to other pages <a href=\\"#page1\\">test</a></p>/n<p>Should be able to use inlcudes</p>/n<h4 id=\\"pdf-titles_pdf-title-page1_include-pdf-title\\"><a href=\\"#pdf-titles_pdf-title-page1_include-pdf-title\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include Pdf title</span></a>Include Pdf title</h4>/n<p>Should be able to resolve liquid syntax</p>/n<p>should be visible</p>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><div class=\\"pdf-title-page-wrapper\\">/n <p>Lorem ipsum title page with var pdf</p>/n</div></div>","pageCount":2},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"<div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"page1.html\\">Page 1<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"></a></h2><p>Page 1 content</p>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"page2.html\\">Page 2<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page2\\" id=\\"page2\\"></a></h2><p>Page 2 content</p>/n</div>","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["__assets/start-page.css"]},"title":"Pdf title pages","toc":{"title":"Pdf title pages","href":"index.html","pdf":{"startPages":["./pdf-titles/pdf-title-page1.md","./pdf-titles/pdf-title-page2.md"]},"items":[{"name":"Title 1","href":"page1.html","id":"UUID"},{"name":"Title 2","href":"page2.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"}},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}"`;
170
+ exports[`Pdf page with titles > Generates content for pdf genrator with title pages 3`] = `"{"data":{"leading":false,"pdfTitlePages":{"content":"<div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 id=\\"pdf-titles_pdf-title-page1_pdf-title-page-1\\" data-original-article=\\"./pdf-titles/pdf-title-page1.html\\"><a href=\\"#pdf-titles_pdf-title-page1_pdf-title-page-1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Pdf title page 1</span></a>Pdf title page 1<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#pdf-titles_pdf-title-page1\\" id=\\"pdf-titles_pdf-title-page1\\"></a></h2>/n<p>Should be able to use variables pdf</p>/n<p>Should be able to use link to other pages <a href=\\"#page1\\">test</a></p>/n<p>Should be able to use inlcudes</p>/n<h4 id=\\"pdf-titles_pdf-title-page1_include-pdf-title\\"><a href=\\"#pdf-titles_pdf-title-page1_include-pdf-title\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include Pdf title</span></a>Include Pdf title</h4>/n<p>Should be able to resolve liquid syntax</p>/n<p>should be visible</p>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><div class=\\"pdf-title-page-wrapper\\">/n <p>Lorem ipsum title page with var pdf</p>/n</div></div>","pageCount":2},"cssLink":["_bundle/search-css-0","_bundle/app-css-1","_bundle/search-css-2","_bundle/search-css-3","_bundle/search-css-4"],"html":"<div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"page1.html\\">Page 1<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page1\\" id=\\"page1\\"></a></h2><p>Page 1 content</p>/n</div><div class=\\"pdf-page-wrapper\\" data-page-break=\\"true\\"><h2 data-original-article=\\"page2.html\\">Page 2<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page2\\" id=\\"page2\\"></a></h2><p>Page 2 content</p>/n</div>","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["__assets/start-page.css"]},"title":"Pdf title pages","toc":{"title":"Pdf title pages","href":"index.html","pdf":{"startPages":["./pdf-titles/pdf-title-page1.md","./pdf-titles/pdf-title-page2.md"]},"items":[{"name":"Title 1","href":"page1.html","id":"UUID"},{"name":"Title 2","href":"page2.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"}},"router":{"pathname":"pdf-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}"`;
171
171
 
172
172
  exports[`Pdf page with titles > Generates pdf title pages as regular entries for debug purpose > filelist 1`] = `
173
173
  "[
@@ -1237,7 +1237,7 @@ exports[`Regression > internal 34`] = `
1237
1237
  <body class="g-root g-root_theme_light">
1238
1238
  <div id="root"></div>
1239
1239
  <script type="application/json" id="diplodoc-state">
1240
- {"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\\" 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}}
1240
+ {"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}}
1241
1241
  </script>
1242
1242
  <script type="application/javascript">
1243
1243
  const data = document.querySelector('script#diplodoc-state');
@@ -1265,7 +1265,7 @@ exports[`Regression > internal 35`] = `
1265
1265
  <body class="g-root g-root_theme_light">
1266
1266
  <div id="root"></div>
1267
1267
  <script type="application/json" id="diplodoc-state">
1268
- {"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;h2 id=\\"header\\"&gt;&lt;a href=\\"autotitle.html#header\\" class=\\"yfm-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;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"autotitle.md"},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1268
+ {"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;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;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"autotitle.md"},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1269
1269
  </script>
1270
1270
  <script type="application/javascript">
1271
1271
  const data = document.querySelector('script#diplodoc-state');
@@ -1573,7 +1573,7 @@ exports[`Regression > internal 46`] = `
1573
1573
  <body class="g-root g-root_theme_light">
1574
1574
  <div id="root"></div>
1575
1575
  <script type="application/json" id="diplodoc-state">
1576
- {"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\\" 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;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\\"&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\\"&gt;?&lt;/i&gt;](http://ya.ru)&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;Link after include&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;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includes.md"},"headings":[],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1576
+ {"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;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\\"&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\\"&gt;?&lt;/i&gt;](http://ya.ru)&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;Link after include&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;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includes.md"},"headings":[],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1577
1577
  </script>
1578
1578
  <script type="application/javascript">
1579
1579
  const data = document.querySelector('script#diplodoc-state');
@@ -1715,7 +1715,7 @@ exports[`Regression > internal 52`] = `
1715
1715
  <body class="g-root g-root_theme_light">
1716
1716
  <div id="root"></div>
1717
1717
  <script type="application/json" id="diplodoc-state">
1718
- {"data":{"leading":false,"html":"&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=\\"mermaid.html#info\\" class=\\"yfm-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","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"mermaid.md"},"headings":[{"title":"Mermaid info","href":"mermaid.html#info","level":2}],"title":"Mermaid usage"},"router":{"pathname":"mermaid","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1718
+ {"data":{"leading":false,"html":"&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=\\"mermaid.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","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"mermaid.md"},"headings":[{"title":"Mermaid info","href":"mermaid.html#info","level":2}],"title":"Mermaid usage"},"router":{"pathname":"mermaid","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1719
1719
  </script>
1720
1720
  <script type="application/javascript">
1721
1721
  const data = document.querySelector('script#diplodoc-state');
@@ -1744,7 +1744,7 @@ exports[`Regression > internal 53`] = `
1744
1744
  <body class="g-root g-root_theme_light">
1745
1745
  <div id="root"></div>
1746
1746
  <script type="application/json" id="diplodoc-state">
1747
- {"data":{"leading":false,"html":"&lt;h1&gt;OpenAPI definition&lt;/h1&gt;/n&lt;p&gt;&lt;samp&gt;version: v0&lt;/samp&gt;&lt;/p&gt;/n&lt;h2 id=\\"sections\\"&gt;&lt;a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Sections&lt;/span&gt;&lt;/a&gt;Sections&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/index.html\\"&gt;test-controller&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n&lt;h2 id=\\"specification\\"&gt;&lt;a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Specification&lt;/span&gt;&lt;/a&gt;Specification&lt;/h2&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;Open API&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"/hidden-test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Test x-hidden attribute\\",/n \\"description\\": \\"Test various x-hidden scenarios\\",/n \\"operationId\\": \\"getHiddenTest\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"Response with hidden fields\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n },/n \\"HiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"HiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"HiddenTestResponse\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n}/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=\\"25\\"&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-25\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-25\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-25.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;/div&gt;&lt;/details&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/index.md"},"headings":[{"title":"Sections","href":"openapi/index.html#sections","level":2},{"title":"Specification","href":"openapi/index.html#specification","level":2}],"title":""},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1747
+ {"data":{"leading":false,"html":"&lt;h1&gt;OpenAPI definition&lt;/h1&gt;/n&lt;p&gt;&lt;samp&gt;version: v0&lt;/samp&gt;&lt;/p&gt;/n&lt;h2 id=\\"sections\\"&gt;&lt;a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Sections&lt;/span&gt;&lt;/a&gt;Sections&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/index.html\\"&gt;test-controller&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n&lt;h2 id=\\"specification\\"&gt;&lt;a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Specification&lt;/span&gt;&lt;/a&gt;Specification&lt;/h2&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;Open API&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"/hidden-test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Test x-hidden attribute\\",/n \\"description\\": \\"Test various x-hidden scenarios\\",/n \\"operationId\\": \\"getHiddenTest\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"Response with hidden fields\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n },/n \\"HiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"HiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"HiddenTestResponse\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n}/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=\\"25\\"&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-25\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-25\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-25.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;/div&gt;&lt;/details&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/index.md"},"headings":[{"title":"Sections","href":"openapi/index.html#sections","level":2},{"title":"Specification","href":"openapi/index.html#specification","level":2}],"title":""},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1748
1748
  </script>
1749
1749
  <script type="application/javascript">
1750
1750
  const data = document.querySelector('script#diplodoc-state');
@@ -1774,7 +1774,7 @@ exports[`Regression > internal 54`] = `
1774
1774
  <body class="g-root g-root_theme_light">
1775
1775
  <div id="root"></div>
1776
1776
  <script type="application/json" id="diplodoc-state">
1777
- {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Test x-hidden attribute&lt;/h1&gt;/n/n&lt;p&gt;Test various x-hidden scenarios&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Request&lt;/span&gt;&lt;/a&gt;Request&lt;/h2&gt;/n&lt;div class=\\"openapi__requests\\"&gt;/n&lt;div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\"&gt;/n&lt;div class=\\"openapi__request\\"&gt;/n&lt;p class=\\"openapi__method\\"&gt;GET&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/hidden-test/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=\\"17\\"&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-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.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;/div&gt;/n&lt;p&gt;Generated server url&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;h2 id=\\"responses\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Responses&lt;/span&gt;&lt;/a&gt;Responses&lt;/h2&gt;/n&lt;div class=\\"openapi__response__code__200\\"&gt;/n&lt;h2 id=\\"200-ok\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;200 OK&lt;/span&gt;&lt;/a&gt;200 OK&lt;/h2&gt;/n&lt;p&gt;Response with hidden fields&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Body&lt;/span&gt;&lt;/a&gt;Body&lt;/h3&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;application/json&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleField\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"nestedObject\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleNested\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"arrayWithHiddenItems\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;[&lt;/span&gt;/n &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;]&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"mixedVisibility\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"43\\"&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-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.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;/div&gt;&lt;/details&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;arrayWithHiddenItems&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: &lt;a href=\\"openapi/test-controller/getHiddenTest.html#entity-HiddenField\\"&gt;HiddenField&lt;/a&gt;[]&lt;/p&gt;/n&lt;p&gt;Array with hidden item schema&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;[&lt;/span&gt;/n &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;]&lt;/span&gt;/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=\\"78\\"&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-78\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-78\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-78.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;/div&gt;&lt;/details&gt;&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;mixedVisibility&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field1&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field3&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field5&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;&lt;/details&gt;&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"151\\"&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-151\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-151\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-151.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;/div&gt;&lt;/details&gt;&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;nestedObject&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;visibleNested&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;&lt;/details&gt;&lt;p&gt;Object with hidden properties&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleNested\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"197\\"&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-197\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-197\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-197.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;/div&gt;&lt;/details&gt;&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;visibleField&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;This field should be visible&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-5"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getHiddenTest.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getHiddenTest.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getHiddenTest.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getHiddenTest.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getHiddenTest.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getHiddenTest","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1777
+ {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Test x-hidden attribute&lt;/h1&gt;/n/n&lt;p&gt;Test various x-hidden scenarios&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#request\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Request&lt;/span&gt;&lt;/a&gt;Request&lt;/h2&gt;/n&lt;div class=\\"openapi__requests\\"&gt;/n&lt;div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\"&gt;/n&lt;div class=\\"openapi__request\\"&gt;/n&lt;p class=\\"openapi__method\\"&gt;GET&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/hidden-test/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=\\"17\\"&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-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.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;/div&gt;/n&lt;p&gt;Generated server url&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;h2 id=\\"responses\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#responses\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Responses&lt;/span&gt;&lt;/a&gt;Responses&lt;/h2&gt;/n&lt;div class=\\"openapi__response__code__200\\"&gt;/n&lt;h2 id=\\"200-ok\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;200 OK&lt;/span&gt;&lt;/a&gt;200 OK&lt;/h2&gt;/n&lt;p&gt;Response with hidden fields&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#body\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Body&lt;/span&gt;&lt;/a&gt;Body&lt;/h3&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;application/json&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleField\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"nestedObject\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleNested\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"arrayWithHiddenItems\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;[&lt;/span&gt;/n &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;]&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"mixedVisibility\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"43\\"&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-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.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;/div&gt;&lt;/details&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;arrayWithHiddenItems&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: &lt;a href=\\"openapi/test-controller/getHiddenTest.html#entity-HiddenField\\"&gt;HiddenField&lt;/a&gt;[]&lt;/p&gt;/n&lt;p&gt;Array with hidden item schema&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;[&lt;/span&gt;/n &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;]&lt;/span&gt;/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=\\"78\\"&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-78\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-78\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-78.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;/div&gt;&lt;/details&gt;&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;mixedVisibility&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field1&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field3&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field5&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;&lt;/details&gt;&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"151\\"&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-151\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-151\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-151.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;/div&gt;&lt;/details&gt;&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;nestedObject&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;visibleNested&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;&lt;/details&gt;&lt;p&gt;Object with hidden properties&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleNested\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"197\\"&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-197\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-197\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-197.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;/div&gt;&lt;/details&gt;&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;visibleField&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;This field should be visible&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-5"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getHiddenTest.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getHiddenTest.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getHiddenTest.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getHiddenTest.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getHiddenTest.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getHiddenTest","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1778
1778
  </script>
1779
1779
  <script type="application/javascript">
1780
1780
  const data = document.querySelector('script#diplodoc-state');
@@ -1804,7 +1804,7 @@ exports[`Regression > internal 55`] = `
1804
1804
  <body class="g-root g-root_theme_light">
1805
1805
  <div id="root"></div>
1806
1806
  <script type="application/json" id="diplodoc-state">
1807
- {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Simple get operation. тест новой верстки 3&lt;/h1&gt;/n/n&lt;p&gt;Defines a simple get operation with no inputs and a complex&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Request&lt;/span&gt;&lt;/a&gt;Request&lt;/h2&gt;/n&lt;div class=\\"openapi__requests\\"&gt;/n&lt;div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\"&gt;/n&lt;div class=\\"openapi__request\\"&gt;/n&lt;p class=\\"openapi__method\\"&gt;GET&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/test/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=\\"17\\"&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-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.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;/div&gt;/n&lt;p&gt;Generated server url&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;h2 id=\\"responses\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Responses&lt;/span&gt;&lt;/a&gt;Responses&lt;/h2&gt;/n&lt;div class=\\"openapi__response__code__200\\"&gt;/n&lt;h2 id=\\"200-ok\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;200 OK&lt;/span&gt;&lt;/a&gt;200 OK&lt;/h2&gt;/n&lt;p&gt;200!!!!&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Body&lt;/span&gt;&lt;/a&gt;Body&lt;/h3&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;application/json&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"A\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"43\\"&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-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.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;/div&gt;&lt;/details&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;A&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getWithPayloadResponse.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getWithPayloadResponse.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getWithPayloadResponse.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getWithPayloadResponse.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getWithPayloadResponse.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getWithPayloadResponse","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1807
+ {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Simple get operation. тест новой верстки 3&lt;/h1&gt;/n/n&lt;p&gt;Defines a simple get operation with no inputs and a complex&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Request&lt;/span&gt;&lt;/a&gt;Request&lt;/h2&gt;/n&lt;div class=\\"openapi__requests\\"&gt;/n&lt;div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\"&gt;/n&lt;div class=\\"openapi__request\\"&gt;/n&lt;p class=\\"openapi__method\\"&gt;GET&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/test/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=\\"17\\"&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-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.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;/div&gt;/n&lt;p&gt;Generated server url&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;h2 id=\\"responses\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Responses&lt;/span&gt;&lt;/a&gt;Responses&lt;/h2&gt;/n&lt;div class=\\"openapi__response__code__200\\"&gt;/n&lt;h2 id=\\"200-ok\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;200 OK&lt;/span&gt;&lt;/a&gt;200 OK&lt;/h2&gt;/n&lt;p&gt;200!!!!&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Body&lt;/span&gt;&lt;/a&gt;Body&lt;/h3&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;application/json&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"A\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/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=\\"43\\"&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-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.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;/div&gt;&lt;/details&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;A&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getWithPayloadResponse.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getWithPayloadResponse.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getWithPayloadResponse.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getWithPayloadResponse.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getWithPayloadResponse.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getWithPayloadResponse","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1808
1808
  </script>
1809
1809
  <script type="application/javascript">
1810
1810
  const data = document.querySelector('script#diplodoc-state');
@@ -1833,7 +1833,7 @@ exports[`Regression > internal 56`] = `
1833
1833
  <body class="g-root g-root_theme_light">
1834
1834
  <div id="root"></div>
1835
1835
  <script type="application/json" id="diplodoc-state">
1836
- {"data":{"leading":false,"html":"&lt;h2 id=\\"endpoints\\"&gt;&lt;a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Endpoints&lt;/span&gt;&lt;/a&gt;Endpoints&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html\\"&gt;Simple get operation. тест новой верстки 3&lt;/a&gt;&lt;/li&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html\\"&gt;Test x-hidden attribute&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"openapi/test-controller/index.md"},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller"},"router":{"pathname":"openapi/test-controller/index","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1836
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"endpoints\\"&gt;&lt;a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Endpoints&lt;/span&gt;&lt;/a&gt;Endpoints&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html\\"&gt;Simple get operation. тест новой верстки 3&lt;/a&gt;&lt;/li&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html\\"&gt;Test x-hidden attribute&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"openapi/test-controller/index.md"},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller"},"router":{"pathname":"openapi/test-controller/index","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1837
1837
  </script>
1838
1838
  <script type="application/javascript">
1839
1839
  const data = document.querySelector('script#diplodoc-state');
@@ -143,7 +143,7 @@ exports[`Skip html extension > correctly trims .html and index.html on monolingu
143
143
  <body class="g-root g-root_theme_light">
144
144
  <div id="root"></div>
145
145
  <script type="application/json" id="diplodoc-state">
146
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
146
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2#hash\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
147
147
  </script>
148
148
  <script type="application/javascript">
149
149
  const data = document.querySelector('script#diplodoc-state');
@@ -325,7 +325,7 @@ exports[`Skip html extension > correctly trims .html and index.html on multiling
325
325
  <body class="g-root g-root_theme_light">
326
326
  <div id="root"></div>
327
327
  <script type="application/json" id="diplodoc-state">
328
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"en/page2#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"en/folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"en/page2","vcsPath":"en/page2.md"},"headings":[{"title":"hash","href":"en/page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"en/page2","depth":2,"base":"../"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
328
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"en/page2#hash\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"en/folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"en/page2","vcsPath":"en/page2.md"},"headings":[{"title":"hash","href":"en/page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"en/page2","depth":2,"base":"../"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
329
329
  </script>
330
330
  <script type="application/javascript">
331
331
  const data = document.querySelector('script#diplodoc-state');
@@ -502,7 +502,7 @@ exports[`Skip html extension > correctly trims .html and index.html on multiling
502
502
  <body class="g-root g-root_theme_light">
503
503
  <div id="root"></div>
504
504
  <script type="application/json" id="diplodoc-state">
505
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hesh\\"&gt;&lt;a href=\\"ru/page2#hesh\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;хэш&lt;/span&gt;&lt;/a&gt;хэш&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"ru/folder/\\"&gt;Ссылка&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;Внешняя ссылка&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"ru/page2","vcsPath":"ru/page2.md"},"headings":[{"title":"хэш","href":"ru/page2#hesh","level":2}],"title":"Страница 2"},"router":{"pathname":"ru/page2","depth":2,"base":"../"},"lang":"ru","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
505
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hesh\\"&gt;&lt;a href=\\"ru/page2#hesh\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;хэш&lt;/span&gt;&lt;/a&gt;хэш&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"ru/folder/\\"&gt;Ссылка&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;Внешняя ссылка&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"ru/page2","vcsPath":"ru/page2.md"},"headings":[{"title":"хэш","href":"ru/page2#hesh","level":2}],"title":"Страница 2"},"router":{"pathname":"ru/page2","depth":2,"base":"../"},"lang":"ru","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
506
506
  </script>
507
507
  <script type="application/javascript">
508
508
  const data = document.querySelector('script#diplodoc-state');
@@ -0,0 +1,55 @@
1
+ import {readFileSync, readdirSync} from 'node:fs';
2
+ import {join, sep} from 'node:path';
3
+ import {describe, expect, test} from 'vitest';
4
+
5
+ import {TestAdapter, getTestPaths} from '../fixtures';
6
+
7
+ function findHtmlFiles(dir: string): string[] {
8
+ const results: string[] = [];
9
+
10
+ try {
11
+ for (const entry of readdirSync(dir, {withFileTypes: true})) {
12
+ const full = join(dir, entry.name);
13
+
14
+ if (entry.isDirectory()) {
15
+ results.push(...findHtmlFiles(full));
16
+ } else if (entry.name.endsWith('.html')) {
17
+ results.push(full);
18
+ }
19
+ }
20
+ } catch {
21
+ // ignore
22
+ }
23
+
24
+ return results;
25
+ }
26
+
27
+ describe('disableCsp', () => {
28
+ test('should not inject CSP meta tag when disableCsp is true with neuroExpert enabled', async () => {
29
+ const {inputPath, outputPath} = getTestPaths('mocks/disable-csp');
30
+
31
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
32
+ md2md: false,
33
+ md2html: true,
34
+ args: '-j2',
35
+ });
36
+
37
+ const htmlFiles = findHtmlFiles(outputPath);
38
+ expect(htmlFiles.length).toBeGreaterThan(0);
39
+
40
+ // No HTML page should contain CSP meta tag
41
+ for (const htmlFile of htmlFiles) {
42
+ const html = readFileSync(htmlFile, 'utf8');
43
+ expect(html).not.toContain('Content-Security-Policy');
44
+ }
45
+
46
+ // Content pages (under en/) should still have the neuroExpert widget script
47
+ const contentPages = htmlFiles.filter((f) => f.includes(`${sep}en${sep}`));
48
+ expect(contentPages.length).toBeGreaterThan(0);
49
+
50
+ for (const htmlFile of contentPages) {
51
+ const html = readFileSync(htmlFile, 'utf8');
52
+ expect(html).toContain('neuroexpert-widget');
53
+ }
54
+ });
55
+ });
@@ -0,0 +1,8 @@
1
+ allowHtml: true
2
+ langs: ['en']
3
+
4
+ disableCsp: true
5
+
6
+ neuroExpert:
7
+ projectId:
8
+ default: test-project-id
@@ -0,0 +1,3 @@
1
+ # Index
2
+
3
+ Content
@@ -0,0 +1,3 @@
1
+ # Page
2
+
3
+ Some content
@@ -0,0 +1,5 @@
1
+ title: DisableCSP
2
+ href: index.md
3
+ items:
4
+ - name: Page
5
+ href: page.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "5.28.0",
3
+ "version": "5.29.0",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },