Skip to content

Fenced block containing functions in Doc result in weird aliasing #4651

Open
@SystemFw

Description

I'm not sure whether I'm doing something unsupported, but the behaviour I'm seeing is very weird.
I run from trunk at 172490a. Add this doc to a new project:

hello = {{
 ```
 foo x = x + 1
 ()
 ```
 ```
 bar y = y + 42
 ()
 ```
}}

it renders as:
Screenshot 2024-01-30 at 02 26 00

fwiw, adding foo and bar to the codebase and using @source{ } does not exhibit any issue

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions