Skip to content

TemmlAutoRenderOptions

Namespace: Temml.Dom

public sealed class TemmlAutoRenderOptions : TemmlOptions

The options of TemmlAutoRenderOptions): the rendering options, and those of src/auto-render.js. The delimiter that matched decides DisplayMode.

Inheritance: object → TemmlOptions

View source

public IReadOnlyList<TemmlDelimiter>? Delimiters { get; set; }

The delimiters, tried in this order. Null means the defaults: $$, (, the AMS environments, \ref, \eqref and [. Maps to delimiters.

Value: IReadOnlyList<TemmlDelimiter>

View source

public Action<string, ParseError>? ErrorCallback { get; set; }

Called with a message and the error when an expression throws a ParseError. Null writes both to the standard error stream. Maps to errorCallback.

Value: Action<string, ParseError>

View source

public string? Fences { get; set; }

A key for a preset list of delimiters, used instead of Delimiters: “$”, “$+”, “(”, “(+”, “ams” or “all”. Any other non-empty value means the defaults. Maps to fences.

Value: string

View source

public IReadOnlyList<string>? IgnoredClasses { get; set; }

Elements with one of these classes are not searched. Maps to ignoredClasses.

Value: IReadOnlyList<string>

View source

public IReadOnlyList<string>? IgnoredTags { get; set; }

Lowercase element names that are not searched. Null means script, noscript, style, textarea, pre, code and option. Maps to ignoredTags.

Value: IReadOnlyList<string>

View source

public Func<string, string>? PreProcess { get; set; }

Changes each expression before it is rendered. Maps to preProcess.

Value: Func<string, string>

View source

MIT · Copyright 2020 Ron Kok · unofficial community port of Temml