Embeds the SVG as an <img> using a data:image/svg+xml;base64,... URI.
This is more robust than inline <svg> for Pandoc/pkgdown (avoids "unclosed div"
warnings). For non-HTML outputs, it falls back to include_card_png().
include_card(
svg_string,
width = "100%",
alt = "Card generated by cardargus",
dpi = 300,
engine = c("auto", "chrome", "rsvg")
)Knitr output for the current format.
SVG string from svg_card().
Display width (CSS units), e.g. "100%", "500px".
Alternative text for accessibility.
Fallback DPI used when output is not HTML (default 300).
Rendering engine for non-HTML output: "auto", "chrome", or "rsvg".