r - Add new line to text in UI of shiny app -


is there way add new line when putting text through ui?

i have like

mainpanel( h3("this app!\n\n"), h4("download data using choose file button\n\n"), h4("thank using app!") ) 

but new lines don't seem working.

\n doesn't work in shiny app. new line, use html tag <br/>:

  mainpanel(     html(      paste(       h3("this app!\n\n"),'<br/>',       h4("download data using choose file button\n\n"),'<br/>',       h4("thank using app!")      )     )   ) 

Comments