Skip to content

bookdown cross-reference links pointing below figures #1155

@GuillaumeBiessy

Description

@GuillaumeBiessy

In reports generated using bookdown, the cross-reference hyperlinks pointing toward Figures seem to point below the Figures (roughly at the caption level), meaning that when clicking on the hyperlink one ends up having only the caption visible on the top of the screen and the reste of the Figure is out of the screen.

This issue only occurs with some browsers such as Chrome or Edge, but not with Firefox, Safari, Internet Explorer or the RStudio viewer. It occurs with both Windows 10 and Android 11 OS.

This message was initially posted on both stackoverflow and RStudio Community :
https://stackoverflow.com/questions/67298237/bookdown-cross-reference-links-pointing-below-figures
https://community.rstudio.com/t/bookdown-cross-reference-links-pointing-below-figures/104394

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementnextto consider for next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions