width
property for computed figures should be passed to markdown
#12340
Replies: 2 comments 6 replies
-
Unfortunately, there is a reason. This is quite hard to do in general for |
Beta Was this translation helpful? Give feedback.
-
Could you properly format your post using code blocks for code and terminal outputs? Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
As title says. When cell properties
#| width: 70
or#| fig-width: 10
are specified, they do not get passed to the figure.The following notebook
produces the matching markdown
As you can see, fig-pos is passed perfectly well to the figure, however width is not.
The
width
property should also be passed to the figure, allowing for resizing the figure regardless of engine.Currently, knitr is the only engine allowing resizing figures, which is via the
fig-width
property.There is no reason (as far as i can see) to not pass
width
the same wayfig-pos
is passedBeta Was this translation helpful? Give feedback.
All reactions