Markdown-Parser
view release on metacpan or search on metacpan
lib/Markdown/Parser.pm view on Meta::CPAN
else
{
my $obj = $top->create_text({
text => $parts->[ $n ],
});
$cb->( $obj );
$top->add_element( $obj );
}
}
# Depth-first expansion, repeat until no changes (handles cascades)
my $changed = 1;
my $walk;
$walk = sub
{
my( $node ) = @_;
# Recurse into container children first (depth-first)
if( $node->can( 'children' ) && $node->children->length )
{
( run in 0.371 second using v1.01-cache-2.11-cpan-f6f0959fb03 )