CodeHighlightRenderOptions
classNamespace: MyLittleContentEngine.Services.Content.MarkdigExtensions.CodeHighlighting
Options for customizing the CSS classes used in the code highlight renderer
Declaration
public record CodeHighlightRenderOptions
Inheritance
object
→ CodeHighlightRenderOptions
Implements
System.IEquatable<MyLittleContentEngine.Services.Content.MarkdigExtensions.CodeHighlighting.CodeHighlightRenderOptions>
Fields
Default
fieldpublic static readonly CodeHighlightRenderOptions Default
Gets the default .
Returns:
CodeHighlightRenderOptions CodeHighlightRenderOptions.Default
Propertys
OuterWrapperCss
propertypublic required string OuterWrapperCss { get; init; }
CSS class for the outer wrapper element
Returns:
string CodeHighlightRenderOptions.OuterWrapperCss
PreBaseCss
propertypublic required string PreBaseCss { get; init; }
CSS classes for the Pre element
Returns:
string CodeHighlightRenderOptions.PreBaseCss
PreStandaloneCss
propertypublic required string PreStandaloneCss { get; init; }
Additional CSS classes for the Pre element when not in a tabbed code block
Returns:
string CodeHighlightRenderOptions.PreStandaloneCss
StandaloneContainerCss
propertypublic required string StandaloneContainerCss { get; init; }
CSS classes for the container when not in a tabbed code block
Returns:
string CodeHighlightRenderOptions.StandaloneContainerCss