@diplodoc/cli-tests 5.22.3 → 5.22.4
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.
|
@@ -197,7 +197,15 @@ This is a test page for various include scenarios.
|
|
|
197
197
|
{% include [user](includes/user-hash.md) %}
|
|
198
198
|
## Include without title
|
|
199
199
|
|
|
200
|
-
{% include [no-title-include](includes/no-title-include-hash.md) %}
|
|
200
|
+
{% include [no-title-include](includes/no-title-include-hash.md) %}
|
|
201
|
+
|
|
202
|
+
## Include with anchor {#anchor}
|
|
203
|
+
|
|
204
|
+
{% include notitle [anchor](#anchor) %}
|
|
205
|
+
{% include [anchor](#anchor) %}
|
|
206
|
+
|
|
207
|
+
{% include [no-title-include](includes/no-title-include-hash.md#anchor) %}
|
|
208
|
+
"
|
|
201
209
|
`;
|
|
202
210
|
|
|
203
211
|
exports[`Includes > Various include scenarios 9`] = `
|
|
@@ -381,7 +389,7 @@ exports[`Includes > Various include scenarios 17`] = `
|
|
|
381
389
|
<body class="g-root g-root_theme_light">
|
|
382
390
|
<div id="root"></div>
|
|
383
391
|
<script type="application/json" id="diplodoc-state">
|
|
384
|
-
{"data":{"leading":false,"html":"<p>This is a test page for various include scenarios.</p>/n<h2 id=\\"include-from-root-level\\"><a href=\\"index.html#include-from-root-level\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include from root level</span></a>Include from root level</h2>/n<p>This is an include from the root level.</p>/n<p><a href=\\"level1/page1.html\\">Link to level1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<h2 id=\\"include-with-anchor\\"><a href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → level1</span></a>Include with anchor <a href=\\"level1/page1.html\\">→ level1</a></h2>/n<h2 id=\\"section2\\"><a href=\\"index.html#section2\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 2</span></a>Section 2</h2>/n<p>This is content of section 2.</p>/n<h3 id=\\"subsection21\\"><a href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"include-from-level1\\"><a href=\\"index.html#include-from-level1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include from level1</span></a>Include from level1</h2>/n<p>This is an include from level 1.</p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<h2 id=\\"include-with-anchor1\\"><a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → root</span></a>Include with anchor <a href=\\"index.html\\">→ root</a></h2>/n<h3 id=\\"subsection211\\"><a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"include-from-level2\\"><a href=\\"index.html#include-from-level2\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include from level2</span></a>Include from level2</h2>/n<p>This is an include from level 2.</p>/n<p><a href=\\"level1/level2/page2.html\\">Link to page2</a></p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<h2 id=\\"include-with-anchor2\\"><a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → level1</span></a>Include with anchor <a href=\\"level1/page1.html\\">→ level1</a></h2>/n<h2 id=\\"section3\\"><a href=\\"index.html#section3\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 3</span></a>Section 3</h2>/n<p>This is content of section 3.</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n<h2 id=\\"include-with-missing-file\\"><a href=\\"index.html#include-with-missing-file\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with missing file</span></a>Include with missing file</h2>/n/n<h2 id=\\"include-file-that-is-in-toc\\"><a href=\\"index.html#include-file-that-is-in-toc\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include file that is in toc</span></a>Include file that is in toc</h2>/n<p><a href=\\"toc-include.html\\">Link to toc-include</a></p>/n<h1>Toc Include</h1>/n<p>This file is included in the toc.</p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to page2</a></p>/n<h2 id=\\"include-with-anchor3\\"><a href=\\"index.html#include-with-anchor3\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor</span></a>Include with anchor</h2>/n<h2 id=\\"section1\\"><a href=\\"index.html#section1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 1</span></a>Section 1</h2>/n<p>This is content of section 1.</p>/n<h2 id=\\"links-to-different-levels\\"><a href=\\"index.html#links-to-different-levels\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Links to different levels</span></a>Links to different levels</h2>/n<p><a href=\\"level1/page1.html\\">Link to level1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<h2 id=\\"include-with-anchor4\\"><a href=\\"index.html#include-with-anchor4\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor</span></a>Include with anchor</h2>/n<h2 id=\\"section11\\"><a id=\\"section1\\" href=\\"index.html#section1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 1</span></a>Section 1</h2>/n<p>This is content of section 1.</p>/n<h2 id=\\"include-with-multiple-anchors\\"><a href=\\"index.html#include-with-multiple-anchors\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with multiple anchors</span></a>Include with multiple anchors</h2>/n<h2 id=\\"section21\\"><a id=\\"section2\\" href=\\"index.html#section2\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 2</span></a>Section 2</h2>/n<p>This is content of section 2.</p>/n<h3 id=\\"subsection212\\"><a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"include-with-paragraph-anchor\\"><a href=\\"index.html#include-with-paragraph-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with paragraph anchor</span></a>Include with paragraph anchor</h2>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<h2 id=\\"nested-includes\\"><a href=\\"index.html#nested-includes\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Nested includes</span></a>Nested includes</h2>/n<h1 id=\\"nested-include\\">Nested include <a href=\\"index.html\\">→ index</a></h1>/n<p>This is a nested include.</p>/n<p>This is an include from level 1.</p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<h2 id=\\"include-with-anchor5\\"><a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → root</span></a>Include with anchor <a href=\\"index.html\\">→ root</a></h2>/n<h3 id=\\"subsection213\\"><a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"deep-nested-includes\\"><a href=\\"index.html#deep-nested-includes\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Deep nested includes</span></a>Deep nested includes</h2>/n<h1 id=\\"deep-nested-include\\">Deep nested include <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/page1.html\\">Link to level1 page1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2 page2</a></p>/n<p>This is a deep nested include.</p>/n<h1 id=\\"user-include\\">User include <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a user include with variable substitution: Alice</p>/n<p><img src=\\"_assets/4.png\\" alt=\\"img 3\\" /></p>/n<h2 id=\\"commented-includes\\"><a href=\\"index.html#commented-includes\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Commented includes</span></a>Commented includes</h2>/n/n<h2 id=\\"include-with-variable-substitution\\"><a href=\\"index.html#include-with-variable-substitution\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with variable substitution</span></a>Include with variable substitution</h2>/n<h1 id=\\"user-include\\">User include <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a user include with variable substitution: Alice</p>/n<h2 id=\\"include-without-title\\"><a href=\\"index.html#include-without-title\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title</span></a>Include without title</h2>/n<h1 id=\\"include-without-title\\">Include without title <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a test for include without title.</p>/n<h2 id=\\"include-without-title-from-the-same-directory\\"><a href=\\"index.html#include-without-title-from-the-same-directory\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title from the same directory</span></a>Include without title from the same directory</h2>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a user include with variable substitution: Alice</p>/n<h2 id=\\"include-without-title-with-anchor\\"><a href=\\"index.html#include-without-title-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title with anchor</span></a>Include without title with anchor</h2>/n<p>This is content of section 1.</p>/n<h2 id=\\"include-without-title-with-paragraph-anchor\\"><a href=\\"index.html#include-without-title-with-paragraph-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title with paragraph anchor</span></a>Include without title with paragraph anchor</h2>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p><a href=\\"index.html\\">Link to index</a></p>/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":"Test Includes"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
392
|
+
{"data":{"leading":false,"html":"<p>This is a test page for various include scenarios.</p>/n<h2 id=\\"include-from-root-level\\"><a href=\\"index.html#include-from-root-level\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include from root level</span></a>Include from root level</h2>/n<p>This is an include from the root level.</p>/n<p><a href=\\"level1/page1.html\\">Link to level1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<h2 id=\\"include-with-anchor\\"><a href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → level1</span></a>Include with anchor <a href=\\"level1/page1.html\\">→ level1</a></h2>/n<h2 id=\\"section2\\"><a href=\\"index.html#section2\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 2</span></a>Section 2</h2>/n<p>This is content of section 2.</p>/n<h3 id=\\"subsection21\\"><a href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"include-from-level1\\"><a href=\\"index.html#include-from-level1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include from level1</span></a>Include from level1</h2>/n<p>This is an include from level 1.</p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<h2 id=\\"include-with-anchor1\\"><a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → root</span></a>Include with anchor <a href=\\"index.html\\">→ root</a></h2>/n<h3 id=\\"subsection211\\"><a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"include-from-level2\\"><a href=\\"index.html#include-from-level2\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include from level2</span></a>Include from level2</h2>/n<p>This is an include from level 2.</p>/n<p><a href=\\"level1/level2/page2.html\\">Link to page2</a></p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<h2 id=\\"include-with-anchor2\\"><a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → level1</span></a>Include with anchor <a href=\\"level1/page1.html\\">→ level1</a></h2>/n<h2 id=\\"section3\\"><a href=\\"index.html#section3\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 3</span></a>Section 3</h2>/n<p>This is content of section 3.</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n<h2 id=\\"include-with-missing-file\\"><a href=\\"index.html#include-with-missing-file\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with missing file</span></a>Include with missing file</h2>/n/n<h2 id=\\"include-file-that-is-in-toc\\"><a href=\\"index.html#include-file-that-is-in-toc\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include file that is in toc</span></a>Include file that is in toc</h2>/n<p><a href=\\"toc-include.html\\">Link to toc-include</a></p>/n<h1>Toc Include</h1>/n<p>This file is included in the toc.</p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to page2</a></p>/n<h2 id=\\"include-with-anchor3\\"><a href=\\"index.html#include-with-anchor3\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor</span></a>Include with anchor</h2>/n<h2 id=\\"section1\\"><a href=\\"index.html#section1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 1</span></a>Section 1</h2>/n<p>This is content of section 1.</p>/n<h2 id=\\"links-to-different-levels\\"><a href=\\"index.html#links-to-different-levels\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Links to different levels</span></a>Links to different levels</h2>/n<p><a href=\\"level1/page1.html\\">Link to level1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<h2 id=\\"include-with-anchor4\\"><a href=\\"index.html#include-with-anchor4\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor</span></a>Include with anchor</h2>/n<h2 id=\\"section11\\"><a id=\\"section1\\" href=\\"index.html#section1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 1</span></a>Section 1</h2>/n<p>This is content of section 1.</p>/n<h2 id=\\"include-with-multiple-anchors\\"><a href=\\"index.html#include-with-multiple-anchors\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with multiple anchors</span></a>Include with multiple anchors</h2>/n<h2 id=\\"section21\\"><a id=\\"section2\\" href=\\"index.html#section2\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Section 2</span></a>Section 2</h2>/n<p>This is content of section 2.</p>/n<h3 id=\\"subsection212\\"><a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"include-with-paragraph-anchor\\"><a href=\\"index.html#include-with-paragraph-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with paragraph anchor</span></a>Include with paragraph anchor</h2>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<h2 id=\\"nested-includes\\"><a href=\\"index.html#nested-includes\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Nested includes</span></a>Nested includes</h2>/n<h1 id=\\"nested-include\\">Nested include <a href=\\"index.html\\">→ index</a></h1>/n<p>This is a nested include.</p>/n<p>This is an include from level 1.</p>/n<p><a href=\\"level1/page1.html\\">Link to page1</a></p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2</a></p>/n<h2 id=\\"include-with-anchor5\\"><a id=\\"include-with-anchor\\" href=\\"index.html#include-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor → root</span></a>Include with anchor <a href=\\"index.html\\">→ root</a></h2>/n<h3 id=\\"subsection213\\"><a id=\\"subsection21\\" href=\\"index.html#subsection21\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subsection 2.1</span></a>Subsection 2.1</h3>/n<p>This is content of subsection 2.1.</p>/n<h2 id=\\"deep-nested-includes\\"><a href=\\"index.html#deep-nested-includes\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Deep nested includes</span></a>Deep nested includes</h2>/n<h1 id=\\"deep-nested-include\\">Deep nested include <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p><a href=\\"level1/page1.html\\">Link to level1 page1</a></p>/n<p><a href=\\"level1/level2/page2.html\\">Link to level2 page2</a></p>/n<p>This is a deep nested include.</p>/n<h1 id=\\"user-include\\">User include <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a user include with variable substitution: Alice</p>/n<p><img src=\\"_assets/4.png\\" alt=\\"img 3\\" /></p>/n<h2 id=\\"commented-includes\\"><a href=\\"index.html#commented-includes\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Commented includes</span></a>Commented includes</h2>/n/n<h2 id=\\"include-with-variable-substitution\\"><a href=\\"index.html#include-with-variable-substitution\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with variable substitution</span></a>Include with variable substitution</h2>/n<h1 id=\\"user-include\\">User include <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a user include with variable substitution: Alice</p>/n<h2 id=\\"include-without-title\\"><a href=\\"index.html#include-without-title\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title</span></a>Include without title</h2>/n<h1 id=\\"include-without-title\\">Include without title <a href=\\"index.html\\">→ index</a></h1>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a test for include without title.</p>/n<h2 id=\\"include-without-title-from-the-same-directory\\"><a href=\\"index.html#include-without-title-from-the-same-directory\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title from the same directory</span></a>Include without title from the same directory</h2>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<p>This is a user include with variable substitution: Alice</p>/n<h2 id=\\"include-without-title-with-anchor\\"><a href=\\"index.html#include-without-title-with-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title with anchor</span></a>Include without title with anchor</h2>/n<p>This is content of section 1.</p>/n<h2 id=\\"include-without-title-with-paragraph-anchor\\"><a href=\\"index.html#include-without-title-with-paragraph-anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include without title with paragraph anchor</span></a>Include without title with paragraph anchor</h2>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p><a href=\\"index.html\\">Link to index</a></p>/n<h2 id=\\"anchor\\"><a href=\\"index.html#anchor\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Include with anchor</span></a>Include with anchor</h2>/n<p>{% include notitle <a href=\\"index.html#anchor\\">anchor</a> %}<br />/n{% include <a href=\\"index.html#anchor\\">anchor</a> %}</p>/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}}
|
|
385
393
|
</script>
|
|
386
394
|
<script type="application/javascript">
|
|
387
395
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -59,4 +59,11 @@ This is a test page for various include scenarios.
|
|
|
59
59
|
{% include [user](includes/user.md) %}
|
|
60
60
|
## Include without title
|
|
61
61
|
|
|
62
|
-
{% include [no-title-include](includes/no-title-include.md) %}
|
|
62
|
+
{% include [no-title-include](includes/no-title-include.md) %}
|
|
63
|
+
|
|
64
|
+
## Include with anchor {#anchor}
|
|
65
|
+
|
|
66
|
+
{% include notitle [anchor](#anchor) %}
|
|
67
|
+
{% include [anchor](#anchor) %}
|
|
68
|
+
|
|
69
|
+
{% include [no-title-include](includes/no-title-include.md#anchor) %}
|