Skip to content

[BUG] Chroma not rendering#1241

@ajossorioarana

Description

@ajossorioarana

Describe the bug

  • Device/Os: Windows 10
  • Type: Desktop
  • Browser and version: Chrome 114.0
  • Hugo Version: 0.113
  • Theme Version: master

Steps to reproduce the behavior:

  1. Follow the FAQ to setup syntax-highlighting via Chroma.
  2. Generate chroma stylesheet as commented on issues [BUG] No syntax-highlighting when using Chroma #901 and how to enable code block highlights? #1046, saved in "assets/css/extended/monokai.css"
  3. Observe syntax-highlighting of code-snippet in served website

Expected behavior:
Code highlighting with chroma

Repo/Source where this issue can be reproduced:
Repo with problem

Screenshots
image

Additional context

Here's the relevant excerpt from my config.yaml:

 [params.assets] disableHLJS = true# ... [markup.highlight] noClasses = false# anchorLineNos = truecodeFences = trueguessSyntax = true# lineNos = truestyle = "monokai"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions