| Markdent documentation | Contained in the Markdent distribution. |
Markdent::Dialect::Theory::SpanParser - Span parser for Theory's Markdown
version 0.17
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.
This class provides the following methods:
This class does the Markdent::Role::SpanParser, Markdent::Role::AnyParser, and Markdent::Role::DebugPrinter roles.
See Markdent for bug reporting details.
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2010 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| 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__