TabbedCodeBlockRenderOptions Pennington.Markdown.Extensions.Tabs
Options for customizing the CSS classes used in the tabbed code block renderer.
Properties
ContainerCssstring- requiredCSS classes for the container.
OuterWrapperCssstring- requiredCSS class for the outer wrapper element.
TabButtonCssstring- requiredCSS classes for the tab buttons.
TabListCssstring- requiredCSS classes for the tab list.
TabPanelCssstring- requiredCSS classes for the tab panels.
Fields
DefaultPennington.Markdown.Extensions.Tabs.TabbedCodeBlockRenderOptions- Default:
new() { OuterWrapperCss = "not-prose", ContainerCss = "tab-container", TabListCss = "tab-list", TabButtonCss = "tab-button", TabPanelCss = "tab-panel", }Default CSS class configuration used by the tabbed code block renderer.
Pennington.Markdown.Extensions.Tabs.TabbedCodeBlockRenderOptions
namespace Pennington.Markdown.Extensions.Tabs;
/// Options for customizing the CSS classes used in the tabbed code block renderer.
public record TabbedCodeBlockRenderOptions
{
/// CSS classes for the container.
public required string ContainerCss { get; init; }
/// Default CSS class configuration used by the tabbed code block renderer.
Default = new()
{
OuterWrapperCss = "not-prose",
ContainerCss = "tab-container",
TabListCss = "tab-list",
TabButtonCss = "tab-button",
TabPanelCss = "tab-panel",
}
/// CSS class for the outer wrapper element.
public required string OuterWrapperCss { get; init; }
/// CSS classes for the tab buttons.
public required string TabButtonCss { get; init; }
/// CSS classes for the tab list.
public required string TabListCss { get; init; }
/// CSS classes for the tab panels.
public required string TabPanelCss { get; init; }
}