1

I'm wondering if there is a solution, analogous to the solution described here, to perform realtime syntaxt highlighting within a textInput object in R shiny?

DCB
  • 107
  • 12
  • 3
    you should take a look at the [shinyAce](https://trestletech.github.io/shinyAce/) package. It allows to display R code with several styles – bretauv Feb 12 '20 at 14:57
  • This is brilliant thanks! I'll try installing it on the server(s) here. – DCB Feb 13 '20 at 09:48
  • 1
    Be careful with the risks of this package, they are described at the bottom of the page in the link I provided – bretauv Feb 13 '20 at 10:00
  • Ofcourse! I am going to use this one for highlighting SQL-syntax within the app. No R code will be executed. That would cause some serious risks. But thanks for the notification anyway, useful to be aware of the risks. – DCB Feb 13 '20 at 10:37

0 Answers0