Skip to content

Add syntax hilghting in shiny app  #52

Description

@W-Mohammed

The shiny app allows users to display R code in a tab.

Screenshot 2024-03-21 054326

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?).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions