Syntax highlighting for R docs

This page summarizes the projects mentioned and recommended in the original post on /r/rstats

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • rdocsyntax

    Discontinued Syntax highlighting for R HTML documentation

  • quickjs

    Public repository of the QuickJS Javascript Engine.

  • I do have a plan to use something fast and small like QuickJS instead of V8.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • ace

    Ace (Ajax.org Cloud9 Editor)

  • Yup the dependency on V8 is certainly not perfect, but using Javascript allows me to reuse the syntax highlighter from Ace editor, the same one that RStudio uses so that it integrates nicely with RStudio (same syntax, theme, color scheme...) plus I don't have to reimplement a syntax highlighter. Might be a bit heavy but makes for a straightforward implementation. And during everyday usage I haven't experience any hiccup at all.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts