Skip to content

BUG: Can't include nested Headings in Directives #62

@mmcky

Description

@mmcky

Describe the bug

You can't have nested headings within exercise directives such as

```{exercise-start}
:label:
```

## Heading 2

```{exercise-end}
```

this causes the nodes not be correctly collected and parsed in the AST

Reproduce the bug

See above example

List your environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions