The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Inky - Inky templates, in Perl

VERSION

version 0.161250

SYNOPSIS

    use Inky;
    my $html = '..';
    say Inky->new->release_the_kraken($html);

DESCRIPTION

A Perl version of the Inky template language, see https://github.com/zurb/inky.

METHODS

new

Creates a new Inky object.

column_count

How many columns is the email supposed to have, defaults to 12 col layout

release_the_kraken

Given some HTML possibly containing Inky template elements, returns it expanded.

CHANGES FROM NPM VERSION

Additional component tags aren't supported.

Differing amounts of columns are untested.

AUTHOR

Marco Fontani

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Situation Publishing LTD.

This is free software, licensed under:

  The MIT (X11) License