NAME

Stenciller::Plugin::ToHtmlPreBlock - A plugin that transforms to html

VERSION

Version 0.1212, released 2015-02-10.

SYNOPSIS

use Stenciller;
my $stenciller = Stenciller->new(filepath => 't/corpus/test-1.stencil');
my $content = $stenciller->transform('ToHtmlPreBlock');

DESCRIPTION

This plugin to Stenciller places the before_input, between and after_output regions in <p> tags and the input and output regions inside <pre> tags.

Content that will be placed in pre tags (input and output sections in stencils) also have four leading spaces removed.

METHODS

transform

See transform in Stenciller::Transformer.

SOURCE

https://github.com/Csson/p5-Stenciller

HOMEPAGE

https://metacpan.org/release/Stenciller

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.