bookdown icon indicating copy to clipboard operation
bookdown copied to clipboard

[FR] word_document2 render docx with hyperlink.

Open panwanke opened this issue 2 years ago • 0 comments

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.

panwanke avatar Nov 02 '22 04:11 panwanke