Skip to content

does not format bold / italic / links in declarator blocks #27

Open
@stuart-little

Description

@stuart-little

raku --doc=Markdown on a file containing a declarator block renders any B<whatever> therein as-such, as opposed to the expected **whatever**.

Here's an example. Take, say

#!/usr/bin/env raku
use v6;

#| B<boo>
sub f($x) {1}
#= I<hoo>

If I run raku --doc=Markdown on that file I get

### sub f

```raku
sub f(
    $x
) returns Mu
```
B<boo>
I<hoo>

By contrast, B<boo> renders fine as **boo** inside a =head1 for instance, or between =begin/end pod markers, etc.

PS
I am not sure whether this is related, but it too is about declarator blocks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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