-
Added lexers:
-
Updated lexers:
- AMDGPU (#1717, #1775)
- APL (#1747)
- C/C++: Improve namespace handling (#1722, #1561, #1719, #1746)
- Chapel (#1743)
- Coq (#1721)
- Cython (#853)
- Groovy (#1765)
- JavaScript (#1741)
- Julia (#1715)
- Octave: Allow multiline and block-percent comments (#1726)
- PowerShell: Improve lexing of
:
(#1682, #1758) - PromQL (#1783)
- Python: Improve float parsing (#1768, #1740)
- Rust (#1061)
- Scala: Rewrite to support Scala3 (#1694, #1035, #1121)
- Swift (#1767)
- Terraform: Support 0.14 syntax (#1756)
- Velocity: Detect multi-line patterns (#1776)
-
Add Pango formatter (#1727)
-
Autopygmentize uses
file
first instead ofpygments -N
(#1786) -
Fix links (#1716)
-
Fix issue with LaTeX formatter and
minted
(#1734, #1735, #1736, #1737) -
Improve alias order (#1780)
-
Fix CTag related issue (#1724)
-
Recognize
.leex
as Elixir templates -
Updated
filename
handling in HTML formatter iflinenos='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>
withcolspan=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 thetests/html_linenos_expected_output/
directory. - For more details and discussion see the issue #1757
- Previously the filename would be emitted within the
-
Added styles:
- Gruvbox light+dark (#1763)