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

Remove downlit #278

Closed
vincentarelbundock opened this issue Apr 28, 2024 · 2 comments
Closed

Remove downlit #278

vincentarelbundock opened this issue Apr 28, 2024 · 2 comments

Comments

@vincentarelbundock
Copy link
Collaborator

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
Copy link
Contributor

olivroy commented Jun 10, 2024

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
Copy link
Collaborator Author

Thanks for the pointer @olivroy

I kept it in Suggests and notes the requirement in documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants