pypi Pygments 2.9.0

latest releases: 2.18.0, 2.17.2, 2.17.1...
3 years ago
  • Added lexers:

  • Updated lexers:

  • Add Pango formatter (#1727)

  • Autopygmentize uses file first instead of pygments -N (#1786)

  • Fix links (#1716)

  • Fix issue with LaTeX formatter and minted (#1734, #1735, #1736, #1737)

  • Improve alias order (#1780)

  • Improve line number colors (#1779, #1778)

  • Fix CTag related issue (#1724)

  • Recognize .leex as Elixir templates

  • Updated filename handling in HTML formatter if linenos='table' (#1757)

    • Previously the filename would be emitted within the <td> holding the code, but outside the <pre>. This would invariably break the a lignment with line numbers.
    • Now if filename is specified, a separate <tr> is emitted before the table content which contains a single <th> with colspan=2 so it
      spans both the line number and code columns. The filename is still within <span class="filename">...</span> so any existing styles
      should still apply, although the CSS path may need to change.
    • For an example of the new output format see table_cls_step_1_start_1_special_0_noanchor_filename.html
      in the tests/html_linenos_expected_output/ directory.
    • For more details and discussion see the issue #1757
  • Added styles:

    • Gruvbox light+dark (#1763)

Don't miss a new Pygments release

NewReleases is sending notifications on new releases.