将 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 文档中工作?
当我将以下 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 文档中工作?