summaryrefslogtreecommitdiffstats
path: root/markup/highlight/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/highlight/config.go')
-rw-r--r--markup/highlight/config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/markup/highlight/config.go b/markup/highlight/config.go
index 338ea77e5..b19e9ec1b 100644
--- a/markup/highlight/config.go
+++ b/markup/highlight/config.go
@@ -33,7 +33,6 @@ const (
lineNosKey = "linenos"
hlLinesKey = "hl_lines"
linosStartKey = "linenostart"
- noHlKey = "nohl"
)
var DefaultConfig = Config{
@@ -60,9 +59,6 @@ type Config struct {
// Use inline CSS styles.
NoClasses bool
- // No highlighting.
- NoHl bool
-
// When set, line numbers will be printed.
LineNos bool
LineNumbersInTable bool
@@ -234,8 +230,6 @@ func normalizeHighlightOptions(m map[string]any) {
for k, v := range m {
switch k {
- case noHlKey:
- m[noHlKey] = cast.ToBool(v)
case lineNosKey:
if v == "table" || v == "inline" {
m["lineNumbersInTable"] = v == "table"