CodeHighlightRenderOptions
Pennington.Markdown.Extensions
Options for customizing the CSS classes used in the code highlight renderer.
Properties
OuterWrapperCssstring- requiredCSS class for the outer wrapper element.
PreBaseCssstring- requiredCSS classes for the Pre element.
PreStandaloneCssstring- requiredAdditional CSS classes for the Pre element when not in a tabbed code block.
StandaloneContainerCssstring- requiredCSS classes for the container when not in a tabbed code block.
Fields
DefaultCodeHighlightRenderOptions- Default CSS class configuration used by the code highlight renderer.
Pennington.Markdown.Extensions.CodeHighlightRenderOptions
namespace Pennington.Markdown.Extensions;
/// Options for customizing the CSS classes used in the code highlight renderer.
public record CodeHighlightRenderOptions
{
/// Default CSS class configuration used by the code highlight renderer.
public static readonly CodeHighlightRenderOptions Default
;
/// CSS class for the outer wrapper element.
public string OuterWrapperCss { get; set; }
/// CSS classes for the Pre element.
public string PreBaseCss { get; set; }
/// Additional CSS classes for the Pre element when not in a tabbed code block.
public string PreStandaloneCss { get; set; }
/// CSS classes for the container when not in a tabbed code block.
public string StandaloneContainerCss { get; set; }
}