etiennebacher / altdoc

Alternative to pkgdown to document R packages
https://altdoc.etiennebacher.com
Other
62 stars 9 forks source link

Remove `downlit` #278

Closed vincentarelbundock closed 1 month ago

vincentarelbundock commented 3 months ago

Quarto has built-in functionality which respects highlight styles. I wasted my time implementing this and got a subpar result. All we need is to change the template to something like:

format:
  html:
    toc: true
    highlight-style: atom-one
    code-link: true
    code-copy: true
    code-overflow: scroll
olivroy commented 2 months ago

fyi, downlit has to be installed for code-link: true to work! https://quarto.org/docs/output-formats/html-code.html#code-linking. i.e. show still be imported or suggested by {altdoc}

vincentarelbundock commented 1 month ago

Thanks for the pointer @olivroy

I kept it in Suggests and notes the requirement in documentation