render_image.Rd
Method to embed an image file in a component
render_image( image, image_alt_text = NULL, title = NULL, raw = FALSE, width = "100%", height = "auto", in_component = TRUE )
image | The path to the image file. |
---|---|
image_alt_text | The alt text of the image. |
title | The components title. |
raw | Whether or not to emit solely the markdown image code. |
width | Width defined with CSS in the HTML img-tag. |
height | Height defined with CSS in the HTML img-tag. |
in_component | Whether the image belongs to a component or the sidebar |
A character string containing the evaluated component