sphinx-exercise icon indicating copy to clipboard operation
sphinx-exercise copied to clipboard

BUG: Can't include nested Headings in Directives

Open mmcky opened this issue 1 year ago • 0 comments

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

mmcky avatar Mar 16 '23 03:03 mmcky