Description Usage Arguments Value Examples
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.
1 | render_figure(figure_id, figure_img)
|
figure_id |
The id of the figure. |
figure_img |
The path of the figure image. |
The output is a string containing the html tags to display the figure and figure caption.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.