Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Svelte + Markdown + LaTeX
Union type of supported code backends.
Type of the input passed to the CodeHandler
's
configure
method.
The default cache directory for SvelTeX.
Get the default configuration for a given code backend.
Get the default configuration for a given Markdown backend.
Get the default configuration for a given math backend.
Get the default SvelTeX configuration options for the given backends.
Get the default TeX configuration.
Get the default configuration for a given verbatim environment type.
Get the default configuration for a given TeX preset.
Supported markdown processors.
Type of the configuration object used to configure the markdown processor.
Supported math backends.
Type of the configuration object used to configure the math processor.
The Sveltex
class implements Svelte's
PreprocessorGroup
interface, and is the awaited
return type of the sveltex
method. Its most important
methods are markup
, which is run on the Svelte file's entire contents, and
script
, which is run on the content of the <script>
tag in the Svelte
file, after the markup
method. Together, they define how the Svelte file
is preprocessed.
Returns a promise that resolves to a new instance of Sveltex
.
Supported TeX backend.
Configuration options for the TeX backend.