Markdent::Dialect::Theory::SpanParser - Span parser for Theory's Markdown


Markdent documentation Contained in the Markdent distribution.

Index


Code Index:

NAME

Top

Markdent::Dialect::Theory::SpanParser - Span parser for Theory's Markdown

VERSION

Top

version 0.17

DESCRIPTION

Top

This class extends the Markdent::Dialect::Standard::SpanParser class in order to allow the pipe (|) and colon (:) characters to be backslash-escaped. These are used to mark tables, so they need to be escapeable.

METHODS

Top

This class provides the following methods:

ROLES

Top

This class does the Markdent::Role::SpanParser, Markdent::Role::AnyParser, and Markdent::Role::DebugPrinter roles.

BUGS

Top

See Markdent for bug reporting details.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Markdent documentation Contained in the Markdent distribution.

package Markdent::Dialect::Theory::SpanParser;
BEGIN {
  $Markdent::Dialect::Theory::SpanParser::VERSION = '0.17';
}

use strict;
use warnings;

use namespace::autoclean;
use Moose;
use MooseX::SemiAffordanceAccessor;
use MooseX::StrictConstructor;

extends 'Markdent::Dialect::Standard::SpanParser';

override _build_escapable_chars => sub {
    my $chars = super();

    return [ @{$chars}, qw( | : ) ];
};

__PACKAGE__->meta()->make_immutable();

1;

# ABSTRACT: Span parser for Theory's Markdown




__END__