Sets whether a warning should be raised if a missing language is detected in a code block.
- Namespace
- Statiq
.Highlight - Containing Type
- HighlightCode
Syntax
public HighlightCode WithMissingLanguageWarning(bool warnOnMissingLanguage = true)
Parameters
| Name | Type | Description |
|---|---|---|
| warnOnMissingLanguage | bool | if set to true [warn on missing]. |
Return Value
| Type | Description |
|---|---|
| HighlightCode | The current instance. |