NAME

Text::Mrkdwn::Escape - Escape text for inclusion in mrkdwn

SYNOPSIS

my $str = Text::Mrkdwn::Escape::escape_to_mrkdwn("*Hello*!");

DESCRIPTION

mrkdwn is a variant of the Markdown text formatting system. It is used by the Slack API. This module is for escaping text, which may contain special characters for inclusion in mrkdwn text.

FUNCTIONS

escape

my $escaped_string = escape_to_mrkdwn($string);

Escapes characters which may cause formatting with a backslash.

SEE ALSO

AUTHOR

Dave Lambley <dlambley@cpan.org>

LICENSE

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