Sets the query selector to use to find code blocks.
- Namespace
- Statiq
.Highlight - Containing Type
- HighlightCode
Syntax
public HighlightCode WithCodeQuerySelector(string querySelector)
Parameters
Name | Type | Description |
---|---|---|
querySelector | string | The query selector to use to select code blocks. The default value is pre code. |
Return Value
Type | Description |
---|---|
HighlightCode | The current instance. |