当鼠标悬停在一个单词上时,我想在R markdown文件中显示一个单词的定义。
对于一个链接,它可以这样做:[I'm an inline-style link with title](https://www.google.com "Google's Homepage")
当鼠标悬停在I'm an inline-style link with title
上时,文本Google's Homepage
将弹出。然而,我想对一个词做同样的事情,并给予一个没有链接的框中的词的定义。
类似于:[word]("Definition of word that pops up in a box upon hovering")
。这可能吗?
2条答案
按热度按时间zd287kbt1#
一个选项是
tippy
包。This is a
I would like to know its definition.
laik7k3q2#
在这里找到a solution
Introduction to tooltip or popups
This is a word. I would like to know its definition.