downlit
downlit copied to clipboard
Don't link in Quarto TOC
e.g. https://design.tidyverse.org
In particular, don't make links inside of existing links.
For the reference, the TOC item:
- After
downlit
(code-link: true
)
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="https://design.tidyverse.org/cs-setNames.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">10</span> <span class="chapter-title">Case study: <code></code></span></span></a><code><a href="https://rdrr.io/r/stats/setNames.html">setNames()</a></code>
</div>
</li>
- Before
downlit
(code-link: false
)
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="http://127.0.0.1:3002/_book/cs-setNames.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">10</span> <span class="chapter-title">Case study: <code>setNames()</code></span></span></a>
</div>
</li>