neilime / geshi-twig-extension
Twig extension to work with Geshi - Generic Syntax Highlighter rendering
Fund package maintenance!
neilime
Installs: 5 335
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- easybook/geshi: ^1.0
- twig/twig: ^3.12
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2024-11-15 09:35:49 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.