neilime / geshi-twig-extension
Twig extension to work with Geshi - Generic Syntax Highlighter rendering
Fund package maintenance!
v4.0.0
2025-12-22 17:21 UTC
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
- easybook/geshi: ^1.0
- twig/twig: ^3.22
Requires (Dev)
- phpunit/phpunit: ^10.5
- dev-main
- v4.0.0
- v3.1.0
- v3.0.0
- v2.1.0
- v2.0.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-dependabot/github_actions/github-actions-dependencies-c4e42b3f33
- dev-dependabot/github_actions/github-actions-dependencies-206aa97598
- dev-dependabot/composer/tools/friendsofphp/php-cs-fixer-tw-3.95
- dev-dependabot/github_actions/github-actions-dependencies-018377daad
- dev-dependabot/add-v2-config-file
This package is auto-updated.
Last update: 2026-04-17 11:24:05 UTC
README
Geshi Twig Extension
📢 Geshi Twig Extension is a Twig extension for GeSHi - Generic Syntax Highlighter rendering.
{{ '<?php\necho \'test\';\n?>' | geshi('php') }}
{% geshi 'javascript' %}
{"data": "test"}
{% endgeshi %}
Helping Project
❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can sponsor him. Thank you !
Contributing
👍 If you wish to contribute to this project, please read the CONTRIBUTING.md file. Note: If you want to contribute don't hesitate, I'll review any PR.