Markdown-To-POD

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    These options can be supplied to the constructor, or in a hash within
    individual calls to the "markdown" method. See the SYNOPSIS for
    examples of both styles.

    The options for the processor are:

    empty_element_suffix

      This option controls the end of empty element tags:

          '/>' for XHTML (default)
          '>' for HTML

    tab_width

      Controls indent width in the generated markup. Defaults to 4.

    trust_list_start_value

      If true, ordered lists will use the first number as the starting
      point for numbering. This will let you pick up where you left off by

lib/Markdown/To/POD.pm  view on Meta::CPAN

            $cur_token->[1] =~  s! \* !$g_escape_table{'*'}!gox;
            $cur_token->[1] =~  s! _  !$g_escape_table{'_'}!gox;
        }
        $text .= $cur_token->[1];
    }
    return $text;
}

sub _DoAnchors {
#
# Turn Markdown link shortcuts into XHTML <a> tags.
#
    my ($self, $text) = @_;

    #
    # First, handle reference-style links: [link text] [id]
    #
    $text =~ s{
        (                   # wrap whole match in $1
          \[
            ($g_nested_brackets)    # link text = $2

lib/Markdown/To/POD.pm  view on Meta::CPAN

of both styles.

The options for the processor are:

=over

=item empty_element_suffix

This option controls the end of empty element tags:

    '/>' for XHTML (default)
    '>' for HTML

=item tab_width

Controls indent width in the generated markup. Defaults to 4.

=item trust_list_start_value

If true, ordered lists will use the first number as the starting point for
numbering.  This will let you pick up where you left off by writing:



( run in 1.552 second using v1.01-cache-2.11-cpan-49f99fa48dc )