- #Register twig file_get_contents extension
- #XXX: obsolete by email.image twig filter in "twig/extensions" or "twig/html-extra"
- #rapsys_air.twig.file_get_contents:
- # class: 'Rapsys\AirBundle\Twig\FileGetContentsExtension'
- # tags: [ 'twig.extension' ]
- #Register twig base64 extension
- #rapsys_air.twig.base64:
- # class: 'Rapsys\AirBundle\Twig\Base64Extension'
- # tags: [ 'twig.extension' ]
- #Register twig bb2html extension
- #rapsys_air.twig.bb2html:
- # class: 'Rapsys\AirBundle\Twig\Bb2htmlExtension'
- # tags: [ 'twig.extension' ]
- #Register twig intl extension
- #XXX: https://www.php.net/manual/en/class.intldateformatter.php
- #XXX: https://stackoverflow.com/questions/25948853/how-to-install-the-intl-extension-for-twig
- #rapsys_air.twig.intl:
- # class: 'Twig\Extensions\IntlExtension'
- # tags: [ 'twig.extension' ]
- #new TwigFilter('markdown_to_html', ['Twig\\Extra\\Markdown\\MarkdownRuntime', 'convert'], ['is_safe' => ['all']]),
- #new TwigFilter('html_to_markdown', 'Twig\\Extra\\Markdown\\twig_html_to_markdown', ['is_safe' => ['all']]),
- #Register twig markdown_to_html extension
- # #class: 'Twig\Extra\Markdown\DefaultMarkdown'
- #rapsys_air.twig.markdown_eruse:
- # class: 'Twig\Extra\Markdown\DefaultMarkdown'
- #rapsys_air.twig.markdown_runtime:
- # class: 'Twig\Extra\Markdown\MarkdownRuntime'
- # arguments: [ '@rapsys_air.twig.markdown_eruse' ]
- #rapsys_air.markdown:
- # class: 'Twig\Extra\Markdown\MarkdownExtension'
- # tags: [ 'twig.extension' ]
- #Register twig pack extension
- #rapsys_pack.pack_extension:
- # class: 'Rapsys\PackBundle\Twig\PackExtension'
- # arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package' ]
- # tags: [ 'twig.extension' ]