racke / Template-Flute

Template::Flute - Modern designer-friendly HTML templating Engine
Other
11 stars 12 forks source link

Add Markdown filter #162

Closed racke closed 3 years ago

racke commented 8 years ago

We are using the following Template::Flute filter in the Perl Dancer Conference website:

https://github.com/interchange/Perl-Dancer-Conference/blob/master/lib/PerlDance/Filter/Markdown.pm

So in order to integrate that with Template::Flute, we need to do the following things:

The existing currency filter can be used as example.

SysPete commented 8 years ago

We need to allow options to be passed through to HTML::Scrubber for allow, deny and rules. We could perhaps have '-allow/+allow' to remove/add options and 'allow' to replace? Rules will need to be handled slightly differently since it is a hash.

racke commented 8 years ago

Yes, that would be a good idea. But let me get it in just as-is before thinking about the options, so I can use it in the demo shop.

racke commented 3 years ago

Added through 8f9e7180132f0ea22c7255e32e7decb161641d3e.