Questions tagged [pygments]

{pygments} is about questions related to Pygments, a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.

Pygments is a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code. It supports a wide range of 551 languages and other text formats.

Pygments is also used by a row of LaTeX packages, such as {minted}, for syntax highlighting.

80 questions
1
vote
1 answer

Can't show source code by using pygment to highlight code

I choose the package pygmentex to highlight my source code in LaTeX. I compile the test.texusing the following command: xelatex -shell-escape test.tex But it doesn't work, there is no code on the…
1
vote
1 answer

Pygments/pythontex : how to disable red boxes around non usual characters?

Sometimes pygments puts characters in red boxes, and I'd like to disable this feature. In the following…
Cristo
  • 647