Skip to content

v0.4.0

Compare
Choose a tag to compare
@mmcky mmcky released this 18 Mar 00:03
· 8 commits to main since this release
f555d72

v0.4.0 (2022-3-18)

New ✨

Added gated directive syntax for exercise and solution directives, which provides
an alternative syntax for building exercise and solution that may also include
executable code.

Example:

You may now use exercise-start and exercise-end to define the exercise which may
include any type of text, directives and roles between the start and end markers.

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

```{code-cell}
# Some setup code that needs executing
```

and maybe you wish to add a figure

```{figure} img/example.png
```

```{exercise-end}
```

This can also be used with solution-start and solution-end.

See docs for further details