-
Notifications
You must be signed in to change notification settings - Fork 321
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
why are the clibpoard buttons added by JS and not R? #1675
Comments
I was wondering out of curiosity, but actually this reminds me of rstudio/bookdown#1072 If the buttons were written in R then the comments could be stripped (they're span "co") and the code would be put in a |
If downlit were the home for that code, it'd be easy to use it in both pkgdown and bs4_book, assuming stripping comments is also a good idea for pkgdown. |
or span "r-out co" only if one only wants to remove output, not actual comments. |
downlit output munging as in #1540 |
@apreshill I see a +1 so pinging you. Would you expect the code that end up on the clipboard to contain code comments or not? i.e. should only the output be removed. |
Per discussion in PR, probably easier to do in JS with |
No description provided.
The text was updated successfully, but these errors were encountered: