{"id":13733285,"url":"https://github.com/nanxstats/shiny-highlight-rmarkdown","last_synced_at":"2026-04-23T10:34:43.897Z","repository":{"id":142658949,"uuid":"393595317","full_name":"nanxstats/shiny-highlight-rmarkdown","owner":"nanxstats","description":"Lightweight R Markdown Syntax Highlighting in Shiny","archived":false,"fork":false,"pushed_at":"2022-02-03T16:39:43.000Z","size":80,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-25T13:34:10.749Z","etag":null,"topics":["highlightjs","rmarkdown","shiny","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://nanx.shinyapps.io/shiny-highlight-rmarkdown/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nanxstats.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-07T06:03:52.000Z","updated_at":"2022-08-02T00:42:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a25a65b-4436-458e-85ee-783e9221fd97","html_url":"https://github.com/nanxstats/shiny-highlight-rmarkdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nanxstats/shiny-highlight-rmarkdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanxstats%2Fshiny-highlight-rmarkdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanxstats%2Fshiny-highlight-rmarkdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanxstats%2Fshiny-highlight-rmarkdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanxstats%2Fshiny-highlight-rmarkdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanxstats","download_url":"https://codeload.github.com/nanxstats/shiny-highlight-rmarkdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanxstats%2Fshiny-highlight-rmarkdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32176937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["highlightjs","rmarkdown","shiny","syntax-highlighting"],"created_at":"2024-08-03T03:00:40.629Z","updated_at":"2026-04-23T10:34:38.887Z","avatar_url":"https://github.com/nanxstats.png","language":"JavaScript","funding_links":[],"categories":["UI Components"],"sub_categories":["Special Input"],"readme":"# shiny-highlight-rmarkdown\n\nOffers `renderRmd()` and `rmdOutput()`: syntax highlighting for R Markdown\noutput in Shiny using highlight.js.\n\nAlso offers `renderRcode()` and `rcodeOutput()` for R code output\nsyntax highlighting.\n\nYou can use either one independently or use the two together.\n\n## Demo\n\n\u003chttps://nanx.shinyapps.io/shiny-highlight-rmarkdown/\u003e\n\nor\n\n```r\nshiny::runGitHub(\"nanxstats/shiny-highlight-rmarkdown\", ref = \"main\")\n```\n\n## Why\n\n- [shiny:::showcaseUI](https://github.com/rstudio/shiny/blob/master/R/showcase.R)\n  and [codeModules::renderCode](https://github.com/statistikat/codeModules)\n  offer an R syntax highlighting solution but do not support R Markdown.\n- Sometimes you want a lightweight R or R Markdown syntax highlighting solution\n  in Shiny that does not involve introducing dependencies such as `shinyAce`.\n\n## How\n\n\u003e First, they take the dinglebop, and they smooth it out with a bunch of schleem.\n\n- R\n  - Modified from [codeModules::renderCode](https://github.com/statistikat/codeModules)\n- JS/CSS\n  - highlight.js\n  - Modified version of the Markdown language highlighter `markdown.min.js`\n  - Modified version of the R language highlighter `r.min.js`\n  - Original version of the YAML language highlighter `yaml.min.js`\n  - Original version of the LaTeX language highlighter `latex.min.js`\n  - Modified version of `github.min.css` theme based on colors in\n    [`rstudio.css`](https://github.com/rstudio/shiny/blob/master/inst/www/shared/highlight/rstudio.css)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanxstats%2Fshiny-highlight-rmarkdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanxstats%2Fshiny-highlight-rmarkdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanxstats%2Fshiny-highlight-rmarkdown/lists"}