Path to this page:
Subject: CVS commit: pkgsrc/textproc/py-pygments
From: Adam Ciarcinski
Date: 2021-05-06 09:40:56
Message id: 20210506074056.A4BE4FA95@cvs.NetBSD.org
Log Message:
py-pygments: updated to 2.9.0
Version 2.9.0
-------------
- Added lexers:
* APDL, gcode
* Kuin
* NestedText
* OMG IDL
* TEAL
* ThingsDB
* WebAssembly
- Updated lexers:
* AMDGPU
* APL
* C/C++: Improve namespace handling
* Chapel
* Coq
* Cython
* Groovy
* JavaScript
* Julia
* Octave: Allow multiline and block-percent comments
* PowerShell: Improve lexing of ``:``
* PromQL
* Python: Improve float parsing
* Rust
* Scala: Rewrite to support Scala3
* Swift
* Terraform: Support 0.14 syntax
* Velocity: Detect multi-line patterns
- Add Pango formatter
- Autopygmentize uses ``file`` first instead of ``pygments -N``
- Fix links
- Fix issue with LaTeX formatter and ``minted``
- Improve alias order
- Improve line number colors
- Fix CTag related issue
- Recognize ``.leex`` as Elixir templates
- Updated `filename` handling in HTML formatter if `linenos='table'`
* Previously the filename would be emitted within the `<td>` holding the
code, but outside the `<pre>`. This would invariably break the alignment
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
https://github.com/pygments/pygments/issues/1757
- Added styles:
* Gruvbox light+dark
Files: