I want to use the package tippy to add a tooltip over a in-line word on my RMarkdown document. However, the solution provided on this answer breaks the desired word into a new paragraph:
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(tippy)
```
This is a
```{r echo = FALSE}
tippy("word.", tooltip = "Definition of word that pops up in a box upon hovering")
```
I would like to know its definition.
This is a `r tippy("word.", tooltip = "Definition of word that pops up in a box upon hovering")`
I would like to know its definition.
The result looks like this. Both the chunk and in-line code solutions do not work. The package documentation implies that the in-line solution should work. Any help is appreciated, thanks.
