- commit
- 83037a49ff3425cf5c46baf1a256750eb0303f5b
- parent
- ae48013307b4ab2f8ee02104eca045ca94730513
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2018-10-14 15:27
add markdown filter
Diffstat
| M | index.php | 3 | +++ |
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
@@ -78,6 +78,9 @@ class Pupupu 78 78 79 79 $loader = new Twig_Loader_Filesystem($srcDir . '/_templates'); 80 80 $this->twig = new Twig_Environment($loader); -1 81 $this->twig->addFilter(new Twig_Filter('md', function ($string) { -1 82 return MarkdownExtra::defaultTransform($string); -1 83 })); 81 84 82 85 $this->cache = array(); 83 86 }