3
use Test::More tests => 3;
5
use_ok('Text::MultiMarkdown', 'markdown');
7
my $m = Text::MultiMarkdown->new(
13
my $html1 = $m->markdown(<<"EOF");
19
is( $html1, <<"EOF" );
21
<li><h1>Heading 1</h1></li>
22
<li><h2>Heading 2</h2></li>
28
my $html2 = $m->markdown(<<"EOF");
34
local $TODO = 'Fails as lack of space between list elements means we only run span level tags, and headings are block level';
35
is( $html2, <<'EOF' );
37
<li><h1>Heading 1</h1></li>
38
<li><h2>Heading 2</h2></li>