Add markdown filter |md

This commit is contained in:
Sam Georges 2014-07-25 20:06:38 +10:00
parent e6379ea21d
commit 5f36d063c9
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
* **Build 130** (2014-07-xx)
- Added markdown Twig filter `{{ 'I am **markdown**'|md }}`.
* **Build 129** (2014-07-25)
- Fixes a bug where the active theme is not editable in the back-end.
- Added a new console command `october:util` for performing utility and maintenance tasks.

View File

@ -215,6 +215,7 @@ class ServiceProvider extends ModuleServiceProvider
'snake' => ['Str', 'snake'],
'camel' => ['Str', 'camel'],
'studly' => ['Str', 'studly'],
'md' => ['October\Rain\Support\Markdown', 'parse'],
]);
});