as_typst | R Documentation |
Render an emphatic object to typst
as_typst(x, ..., font_size = 10, font = NA, line_spacing = 0.3)
x |
emphatic object |
... |
other arguments passed to |
font_size |
font size in points. default: 10 |
font |
name of font. Default: NA means to just use the default raw font |
line_spacing |
line spacing in |
Character string containing typst
representation
hl_diff("hello", "there") |>
as_typst() |>
cat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.