github executablebooks/sphinx-exercise v0.4.0

latest releases: v1.0.0, v0.4.1
2 years ago

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

Don't miss a new sphinx-exercise release

NewReleases is sending notifications on new releases.