Closed tamas-ferenci closed 6 months ago
The string needs to be wrapped with HTML()
. Also the option isn't necessary
bslib::tooltip(
bsicons::bs_icon("question-circle"),
HTML("A <b>formatted</b> text."),
placement = "right"
)
Ah, sorry for not realizing that! Thank you very much, it works perfectly.
This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. :raising_hand: Need help? Connect with us on Discord or Posit Community.
The
options
argument oftooltip
states that it can be used to set additional options, with a link leading to here. This page has an option calledhtml
which theoretically allows the usage of HTML within the tooltip text. However, this does not seem to work: HTML tags are displayed as text with no formatting applied.Minimal reproducible example:
Session Info