Skip to content

Use theme obtained with --print-highlight-style #4133

@aubertc

Description

@aubertc

I'm trying to use the newly developed --print-highlight-style option (context: #4106 and #4096) to obtain a theme file and then use it with --highlight-style, but get an error message.

I'm using pandoc 2.0.4 (Compiled with pandoc-types 1.17.3, texmath 0.10, skylighting 0.4.4.1)

pandoc --print-highlight-style pygments > pygments.theme
pandoc pygments.theme --highlight-style pygments.theme -o test.pdf

Output:
Could not read highlighting theme pygments.theme

Expected output:
The pdf rendering of the file pygments.theme using the theme pygments.theme.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions