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