Code blocks
Since 0.1.0-alpha.22Mark a code block's language; RichText shows it highlighted.
The members for code blocks, and the types they use. Every member of
IzzyBlazor.RichTextEditor is on the RichTextEditor API.
Properties (1)
CodeLanguagesIReadOnlyList<string>? (computed)The languages a code block can be marked as, each a name such as csharp, written in the value as the code's class (language-csharp), which RichText highlights and Prism or highlight.js read too. Defaults to the languages the library's highlighter knows; an empty list leaves code blocks unmarked.