public function Extension::getFilters in Markdown 3.0.x
File
- src/
Twig/ Markdown/ Extension.php, line 42
Class
Namespace
Drupal\markdown\Twig\MarkdownCode
public function getFilters() {
return [
'markdown' => new \Twig_SimpleFilter('markdown', [
$this,
'parse',
], [
'is_safe' => [
'html',
],
]),
];
}