-
Notifications
You must be signed in to change notification settings - Fork 10
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add syntax hilghting in shiny
app
#52
Labels
enhancement
New feature or request
Comments
I'd personally leave this as a to-do, one for the future. Most important to ensure the concept & core functionality is viable first. |
I agree! I only documented this feature/enhancement for completion purposes and to preserve my research on the matter for whoever works on it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 therenderCode
/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 theassertHE
package (provided that it is also licensed under GPLv3?).The text was updated successfully, but these errors were encountered: