Skip to content

Gradient fill and header results in error #94

Description

@Rdeisenroth

When using the header option together with a gradient fill, it results in an Error. MWE:

#codly(fill:gradient.linear(..color.map.flare),header: [asdf])
\`\`\`java
// a hello world program
System.out.println("Hello, World!");
\`\`\`

Changing fill to a color like green, i get an output:

Image

My final usecase is to replicate my LaTeX-Codeblocks, which have different colored line numbers (and worse syntax highlighting). I was hoping to color the line numbers using a gradient (if there is a better way, please let me know)

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions