services() ->set('twig.extension.markdown', MarkdownExtension::class) ->tag('twig.extension') ->set('twig.runtime.markdown', MarkdownRuntime::class) ->args([ $service('twig.markdown.default'), ]) ->tag('twig.runtime') ->set('twig.markdown.default', DefaultMarkdown::class) ; };