Kent Fredric │‫3﹪🔋
and 1 contributors

NAME

CPAN::Changes::Markdown::Filter::Node::PlainText - A text node that contains markup-free text.

VERSION

version 1.000001

SYNOPSIS

    use CPAN::Changes::Markdown::Filter::NodeUtil qw( :all );

    my $plaintext = mk_node_plaintext("The text here");

    $plaintext->to_s()    # The text here
    $plaintext->content() # The text here

METHODS

create

Slightly shorter hand for new

    $class->create( $text ) == $class->new( content => $text )

to_s

Represent this node back as text.

ATTRIBUTES

content

  rw, required

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Kent Fredric <kentfredric@gmail.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.