render_figure: Produce full html for static figures, minus tooltips.

Description Usage Arguments Value Examples

View source: R/render_rmd.R

Description

This is a function that generates the html to display a static figure and the captions for that figure. Glossary tooltips are not created here, as that occurs at a later stage of the html production process.

Usage

1
render_figure(figure_id, figure_img)

Arguments

figure_id

The id of the figure.

figure_img

The path of the figure image.

Value

The output is a string containing the html tags to display the figure and figure caption.

Examples

1
2
3
4
## Not run: 
render_figure("Figure App.C.4.4.", "../img/cinms_cr/App.C.4.4.Leeworthy_landings.jpg")

## End(Not run)

marinebon/infographiqR documentation built on Dec. 21, 2021, 2:44 p.m.