Skip to content

getDefaultTexConfig()

ts
function getDefaultTexConfig(): FullTexConfiguration;

The defaults SvelTeX uses for the tex slice of its configuration when the user supplies none — TeX engine and arguments, the dvisvgm / Poppler conversion settings, output and cache directories, SVGO pipeline, and verbosity. Useful for callers that need to inspect or extend the defaults programmatically; most users can rely on the implicit defaults and never call this directly.

Returns

FullTexConfiguration

A fresh, deeply-mutable copy of the defaults — mutating it does not affect subsequent calls.