Skip to content

Commit 997fcbd

Browse files
1 parent 7226f06 commit 997fcbd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

1365/contrib.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6747,7 +6747,7 @@ <h3 id="handling-redirects">Handling Redirects<a class="headerlink" href="#handl
67476747
This article has been moved to a [<span class="nt">new location</span>](<span class="na">new-section/new-article.md</span>).
67486748
</code></pre></div>
67496749
<h3 id="maintaining-anchor-links">Maintaining Anchor Links<a class="headerlink" href="#maintaining-anchor-links" title="Permanent link">&para;</a></h3>
6750-
<p>If you rename a section, the link to that section might break. To avoid this, add an anchor manually:</p>
6750+
<p>If you rename a section, the link to that section (<code>/article.html#section-title</code>) might break. To avoid this, add an anchor manually:</p>
67516751
<div class="highlight"><pre><span></span><code><span class="p">&lt;</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">&quot;old-section-title&quot;</span><span class="p">&gt;&lt;/</span><span class="nt">div</span><span class="p">&gt;</span>
67526752
</code></pre></div>
67536753
<p>This will allow existing links to continue working even after the section title is changed.</p>

0 commit comments

Comments
 (0)