Skip to content

We don't handle code chunks with whitespace in them correctly #17

@scottchiefbaker

Description

@scottchiefbaker

I have some code in a Markdown ``` block that includes an empty line. markdown2pod doesn't handle code blocks with blank lines, it passes them right through. If I remove that empty line it's parsed correctly.

Doesn't work:

\```perl
my $foo = 'bar';
my $line2 = 7

my $line3 = undef;
\```

Works:

\```perl
my $foo = 'bar';
my $line2 = 7
my $line3 = undef;
\```

I had to \ the triple backticks so Github wouldn't render it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions