This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

ContentTabsRenderOptions Pennington.Markdown.Extensions.Tabs

Options for customizing the CSS classes used in the content-tabs renderer. The tab strip carries not-prose while the panels do not, so panel content keeps the page's prose typography.

Properties

ContainerCss string
required
CSS classes for the outer container; intentionally not not-prose.
TabButtonCss string
required
CSS classes for each tab button.
TabListCss string
required
CSS classes for the tab strip; carries not-prose to isolate the buttons.
TabPanelCss string
required
CSS classes for each tab panel; intentionally not not-prose.

Fields

Default ContentTabsRenderOptions
Default CSS class configuration used by the content-tabs renderer.

Pennington.Markdown.Extensions.Tabs.ContentTabsRenderOptions

namespace Pennington.Markdown.Extensions.Tabs;

/// Options for customizing the CSS classes used in the content-tabs renderer. The tab strip carries not-prose while the panels do not, so panel content keeps the page's prose typography.
public record ContentTabsRenderOptions
{
    /// CSS classes for the outer container; intentionally not not-prose.
    
public string ContainerCss { get; set; }
/// Default CSS class configuration used by the content-tabs renderer.
public static readonly ContentTabsRenderOptions Default
; /// CSS classes for each tab button.
public string TabButtonCss { get; set; }
/// CSS classes for the tab strip; carries not-prose to isolate the buttons.
public string TabListCss { get; set; }
/// CSS classes for each tab panel; intentionally not not-prose.
public string TabPanelCss { get; set; }
}