Change the color and font of text in Shiny App

前端 未结 4 1853
心在旅途
心在旅途 2020-12-08 04:19

I am using below code in server.R to display the text in the main panel. This is working exactly the way it should work.

output$text1 <- rend         


        
4条回答
  •  甜味超标
    2020-12-08 04:58

    in ui.r:

    span(textOutput("message"), style="color:red")
    

    in server.r:

    output$message <- renderText({"This is some red text"})
    

提交回复
热议问题