khusika / FeelIt

A clean, elegant but advanced blog theme for Hugo
https://feelit.khusika.dev
MIT License
166 stars 63 forks source link

[BUG] Syntax highlighting theme not working #93

Open Mag1cByt3s opened 2 years ago

Mag1cByt3s commented 2 years ago

Describe the bug

I tried to change the syntax highlighting theme to Dracula like so:

[markup.highlight]
    anchorLineNos = false
    codeFences = false  # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
    guessSyntax = true
    hl_Lines = ''
    lineAnchors = ''
    lineNoStart = 1
    lineNos = true
    lineNumbersInTable = true
    # false is a necessary configuration
    # (https://github.com/khusika/FeelIt/issues/158)
    noClasses = true
    noHl = false
    tabWidth = 4
    pygmentsCodefences = true
    pygmentsStyle = "dracula"

However I am not able to change the default code highlighter scheme of this theme

Expected behavior

The syntax highlighting theme should get changed.

Build Environment

Preview Environment