We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to add an image sitting in man/figures, I'm running into a problem with specifying height/width constraints.
man/figures
This works:
![](pkg-overview.png "Package Overview")
But, adding width or height keys causes the markdown to leak through, e.g. we in the Rd:
width
height
![](pkg-overview.png "Package Overview" width="500px")
From 2.7 Figures, I think at least width can be specified using regular \figure markup, e.g.
\figure
\if{html}{\figure{Rlogo.svg}{options: width=100 alt="R logo"}} \if{latex}{\figure{Rlogo.pdf}{options: width=0.5in}}
Would it be possible to expose a width key on images? I think this would involve changing:
roxygen2/R/markdown.R
Lines 422 to 424 in 2357de6
And updating documentation here:
roxygen2/vignettes/rd-formatting.Rmd
Lines 194 to 202 in 2357de6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When trying to add an image sitting in
man/figures
, I'm running into a problem with specifying height/width constraints.This works:
But, adding
width
orheight
keys causes the markdown to leak through, e.g. we in the Rd:From 2.7 Figures, I think at least
width
can be specified using regular\figure
markup, e.g.Would it be possible to expose a
width
key on images? I think this would involve changing:roxygen2/R/markdown.R
Lines 422 to 424 in 2357de6
And updating documentation here:
roxygen2/vignettes/rd-formatting.Rmd
Lines 194 to 202 in 2357de6
The text was updated successfully, but these errors were encountered: