getDefaultSveltexConfig()
ts
function getDefaultSveltexConfig<MD extends MarkdownBackend = 'none', C extends CodeBackend = 'none', MT extends MathBackend = 'none'>(markdownBackend: MD, codeBackend: C, mathBackend: MT): FullSveltexConfiguration<MD, C, MT>;Get the default SvelTeX configuration options for the given backends.
Mutating the returned object will not affect return values of subsequent calls to this function.
Type parameters
MD extends MarkdownBackend = 'none'— The Markdown backend.C extends CodeBackend = 'none'— The Code backend.MT extends MathBackend = 'none'— The Math backend.
Parameters
markdownBackend MDbase/defaults.ts:511
The Markdown backend.
codeBackend Cbase/defaults.ts:512
The Code backend.
mathBackend MTbase/defaults.ts:513
The Math backend.
Returns
FullSveltexConfiguration<MD, C, MT>The default SvelTeX configuration options.