| render_markdown | R Documentation |
Render a terminal frame as a Markdown code block
render_markdown(x, width = 80, height = 24, trim = TRUE)
x |
A widget, Screen, App, or ScreenBuffer. |
width, height |
Frame size in cells. |
trim |
Remove trailing spaces from each line? |
A fenced Markdown text block.
cat(render_markdown(label("Hello"), width = 20, height = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.