Closed tbrowder closed 2 years ago
I cannot reproduce this:
Thanks, I'll look more closely...
A better, complete example. Create a Raku program containing the following lines:
use Markdown::Grammar;
my $s = q:to/HERE/;
```json
```
HERE
my $p = from-markdown $s, to => 'pod6';
say $p;
Call the program 'mtest.raku'. Run
$ raku mtest.raku
=begin pod
=begin code json
{
}
=end code
=end pod
For your pod testing it might be helpful to add a test something like this:
lives-ok {
EVAL $test-pod-from-markdown;
}
I still cannot reproduce the bug (with the most recent code of this repository.) See the attached screenshot.
Given this in Markdown (the apostrophes represent backticks):
This module still creates:
which causes the pod to fail compilation by Raku.
The proper output for the line should be: