bookdown
bookdown copied to clipboard
[FR] word_document2 render docx with hyperlink.
Compared to rmarkdown's word_document, bookdown's word_document2 can support cross-reference better. However, it does not seem to generate hyperlinks when exporting to docx.
A compromise way is to use pandoc-crossref to generate hyperlinks. But this is not convenient and does not work well with the figures and tables automatically generated by R code.
The desired feature is to add a setting like linkReferences: true
in the metadata to make the cross-reference hyperlinked.