TemmlAutoRenderOptions
Namespace: Temml.Dom
public sealed class TemmlAutoRenderOptions : TemmlOptionsThe options of TemmlAutoRenderOptions): the rendering options, and those of
src/auto-render.js. The delimiter that matched decides DisplayMode.
Inheritance: object → TemmlOptions
Properties
Section titled “Properties”Delimiters
Section titled “Delimiters”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>
ErrorCallback
Section titled “ErrorCallback”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>
Fences
Section titled “Fences”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
IgnoredClasses
Section titled “IgnoredClasses”public IReadOnlyList<string>? IgnoredClasses { get; set; }Elements with one of these classes are not searched. Maps to ignoredClasses.
Value: IReadOnlyList<string>
IgnoredTags
Section titled “IgnoredTags”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>
PreProcess
Section titled “PreProcess”public Func<string, string>? PreProcess { get; set; }Changes each expression before it is rendered. Maps to preProcess.
Value: Func<string, string>
MIT · Copyright 2020 Ron Kok · unofficial community port of Temml