use strict; use warnings; use utf8; use Markdown::Perl; use Test2::V0; sub run { &Markdown::Perl::convert; } is(run("* a\n* b\n* c\n\n\nfoo"), "\n

foo

\n", 'list is tight'); is(run("- 0"), "\n", 'zero_list_item'); is(run("1.\tfoo\n\n\tbar"), "
    \n
  1. foo

    \n

    bar

    \n
  2. \n
\n", 'indent_with_tabs_after_marker'); is(run(">1.\tfoo\n>\n> bar"), "
\n
    \n
  1. foo

    \n

    bar

    \n
  2. \n
\n
\n", 'indent_with_tabs_after_marker_inside_block'); done_testing;