pkgdown icon indicating copy to clipboard operation
pkgdown copied to clipboard

Displaying shiny objects in vignettes/putting code in a scrollable window.

Open john-harrold opened this issue 2 years ago • 0 comments

This is related to issue https://github.com/r-lib/pkgdown/issues/838.

I wan to use shinyAce to display source code in a vignette that I would like to include in a pkgdown site. This is done using a shiny runtime. I understand that the vignettes cannot be interactive, but I don't really want interactivity. I simply want to utilize this to preview code in a scrollable window, and it would be nice to utilize the formatting of shinyAce as well.

Is there any way to do this? Is there another way to do this?

Thanks John

john-harrold avatar Sep 03 '22 20:09 john-harrold