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

Pod::Knit::Plugin::NamedSections - Create directive shortcuts for sections

VERSION

version 0.0.1

SYNOPSIS

in knit.yml

    plugins:
        NamedSections:
            sections:
                - synopsis
                - description

in POD:

    =synopsis
    
        ...
    
    =description
    
    Blah blah
    
    =head1 Normal section

Knitted POD:

    =head1 SYNOPSIS
    
    ...
    
    =head1  DESCRIPTION
    
    ...

DESCRIPTION

Declares custom sections that will act like =head1s.

In the XML representation of the document, the section tag will be given the name of the section as a class. E.g.

    =synopsis

turns into

    <section class="synopsis">...</section>

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Yanick Champoux.

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

Full text of the license can be found in the LICENSE file included in this distribution.