etiennebacher / prompter

Add tooltips in Shiny apps with hint.css
https://prompter.etiennebacher.com/
Other
41 stars 1 forks source link

Is it possible to add formatting elements, such as <br>, <u>, etc? #9

Closed rdiaz02 closed 2 years ago

rdiaz02 commented 2 years ago

Hi, For some complex tooltips, being able to control newlines, paragraphs, and other formatting is ideal. I cannot find a way to add things like newlines or underline, etc.

etiennebacher commented 2 years ago

Hi, see here to know how to break lines. Regarding the formatting (underline, bold, italics, etc.), it's not possible to add HTML tags (see this issue in the CSS library that is used by prompter) so you can just have simple text

rdiaz02 commented 2 years ago

Thanks!