Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't link in Quarto TOC #174

Open
hadley opened this issue Jul 20, 2023 · 1 comment
Open

Don't link in Quarto TOC #174

hadley opened this issue Jul 20, 2023 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@hadley
Copy link
Member

hadley commented Jul 20, 2023

e.g. https://design.tidyverse.org

In particular, don't make links inside of existing links.

@mcanouil
Copy link

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>&nbsp; <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>&nbsp; <span class="chapter-title">Case study: <code>setNames()</code></span></span></a>
  </div>
</li>

@hadley hadley added the bug an unexpected problem or unintended behavior label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants