CodeExtensions Class

Extensions for code highlighting

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static class CodeExtensions
Inheritance
Object    CodeExtensions

Methods

GetCodeLanguage Generates a code tag for PrismJS highlighting, to be used in pre or code HTML tags.

Fields

SupportedCodeLanguages Supported programming languages, config file styles and their corresponding PrismJS settings.
SupportedCodeStyles Supported code styles for PrismJS to format the code.

See Also