Skip to main content
Home

Built and signed on GitHub Actions

Svelte + Markdown + LaTeX

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
a month ago (0.4.4)
T
CodeBackend

Union type of supported code backends.

T
CodeConfiguration

Type of the input passed to the CodeHandler's configure method.

f
getDefaultCacheDirectory

The default cache directory for SvelTeX.

f
getDefaultCodeConfig

Get the default configuration for a given code backend.

f
getDefaultMarkdownConfig

Get the default configuration for a given Markdown backend.

f
getDefaultMathConfig

Get the default configuration for a given math backend.

f
getDefaultSveltexConfig

Get the default SvelTeX configuration options for the given backends.

f
getDefaultTexConfig

Get the default TeX configuration.

f
getDefaultVerbEnvConfig

Get the default configuration for a given verbatim environment type.

f
getTexPresetDefaults

Get the default configuration for a given TeX preset.

T
MarkdownBackend

Supported markdown processors.

T
MarkdownConfiguration

Type of the configuration object used to configure the markdown processor.

T
MathBackend

Supported math backends.

T
MathConfiguration

Type of the configuration object used to configure the math processor.

c
Sveltex

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.

f
sveltex

Returns a promise that resolves to a new instance of Sveltex.

T
TexBackend

Supported TeX backend.

I
TexConfiguration

Configuration options for the TeX backend.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.