You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #5859 Use Twig highlighter instead of Jinja (WouterJ)
This PR was merged into the 2.3 branch.
Discussion
----------
Use Twig highlighter instead of Jinja
Pygments 2 supports the Twig highlighting language, which is (of course) closer to Twig than Jinja is.
Previously, we reverted one occurence of Twig in #5378 , because people might use older versions locally. I no longer think this is a good reason:
* They can update the versions, Pygments 2 isn't that new
* Now we have platform.sh and travis, building locally isn't recommended/required anymore (if it ever was)
| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.3+
| Fixed ticket | -
This requires fabpot/sphinx-php#31 to be merged first. (and Pygments 2 to be available on symfony.com's server, but I think it already is /cc @javiereguiluz )
Commits
-------
d116232 Fix formatting
57c2d4b Use Twig highlighter instead of Jinja
0 commit comments