Click to jump to the line for the function or any trick in Rmarkdown




I was wondering, as a Latex user and Rmarkdown now, there is a trick that I use a lot in Latex, which is "Click to jump to the line", is there any way that I can use this trick in Rmarkdown?

Thank you!