CodeHighlightRenderOptions

class

Namespace: MyLittleContentEngine.Services.Content.MarkdigExtensions.CodeHighlighting

Options for customizing the CSS classes used in the code highlight renderer

Declaration

public record CodeHighlightRenderOptions

Inheritance

objectCodeHighlightRenderOptions

Implements

  • System.IEquatable<MyLittleContentEngine.Services.Content.MarkdigExtensions.CodeHighlighting.CodeHighlightRenderOptions>

Fields

Default

field
public static readonly CodeHighlightRenderOptions Default
Gets the default .
Returns: CodeHighlightRenderOptions CodeHighlightRenderOptions.Default

Propertys

OuterWrapperCss

property
public required string OuterWrapperCss { get; init; }
CSS class for the outer wrapper element
Returns: string CodeHighlightRenderOptions.OuterWrapperCss

PreBaseCss

property
public required string PreBaseCss { get; init; }
CSS classes for the Pre element
Returns: string CodeHighlightRenderOptions.PreBaseCss

PreStandaloneCss

property
public required string PreStandaloneCss { get; init; }
Additional CSS classes for the Pre element when not in a tabbed code block
Returns: string CodeHighlightRenderOptions.PreStandaloneCss

StandaloneContainerCss

property
public required string StandaloneContainerCss { get; init; }
CSS classes for the container when not in a tabbed code block
Returns: string CodeHighlightRenderOptions.StandaloneContainerCss