% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-misc.R
\name{include_mermaid}
\alias{include_mermaid}
\title{Include a pre-rendered mermaid diagram}
\usage{
include_mermaid(name, chromium_args = c("--no-sandbox"))
}
\arguments{
\item{name}{Diagram name (without extension), resolved relative to a
\verb{mermaid/} directory alongside the calling document.}

\item{chromium_args}{Character vector of extra Chromium flags passed to
\code{mmdc} via a temporary puppeteer config file.}
}
\description{
Renders mermaid \code{.mmd} source to \code{.svg} when the source is newer than the
existing SVG and \code{mmdc} is available, then includes the SVG via
\code{\link[knitr:include_graphics]{knitr::include_graphics()}}.
}
\keyword{internal}
