将 Rmd 文件编织为 pdf 时,bookdown 书籍链接中的主题标签将转换为 %23,并且不起作用

When knitting an Rmd file to pdf, hashtags in links to bookdown books are converted to %23 and don't work

当我将以下 Rmd 文件编织成 pdf 时,link 中的 # 到 bookdown 书被转换为 %23 并且不起作用。如果 Rmd 编​​织为 html 而不是 pdf,link 工作正常。

我尝试用 \\ 转义 #;都没有用。

---
output: pdf_document
urlcolor: blue
---

This link does not work in the rendered pdf:

https://bookdown.org/yihui/bookdown/markdown-syntax.html#inline-formatting


有什么方法可以让这样的 link 在呈现的 pdf 文档中工作?

根据评论,这是 PDF 查看器的问题。

参考:https://tex.stackexchange.com/questions/555559/href-broken-links-due-to-url-encoding-hash-sign-23