The shiny app allows users to display R code in a tab.
Adding syntax highlighting could improve the readability and help the code review process.
One possible solution is to use the highlight.js JavaScript library, which is widely used and provides a simple and efficient way to highlight and style code on web pages.
The GitHub-hosted package, codeModules, provides the renderCode/codeOutput functions, which show code with syntax highlighting.
The codeModules package is licensed under GPLv3, which allows us to modify the source code of its functions and integrate them into the assertHE package (provided that it is also licensed under GPLv3?).
The
shinyapp allows users to display R code in a tab.Adding syntax highlighting could improve the readability and help the code review process.
One possible solution is to use the
highlight.jsJavaScript library, which is widely used and provides a simple and efficient way to highlight and style code on web pages.The GitHub-hosted package,
codeModules, provides therenderCode/codeOutputfunctions, which show code with syntax highlighting.The
codeModulespackage is licensed under GPLv3, which allows us to modify the source code of its functions and integrate them into theassertHEpackage (provided that it is also licensed under GPLv3?).