CodeBlock.CodeLanguage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Language specified in prefix, e.g. ```c# (GitHub Style Parsing).
This does not guarantee that the Code Block has a language, or no language, some valid code might not have been prefixed, and this will still return null. To ensure all Code is Highlighted (If desired), you might have to determine the language from the provided string, such as looking for key words.public string CodeLanguage { get; set; }
member this.CodeLanguage : string with get, set
Public Property CodeLanguage As String