exercises not rendering properly in sphinx with jupyter-book

96 Views Asked by At

I am working with a jupyter book, where I want to include exercises. To the best of my knowledge, I have followed the documentation for this type of directive. First, in my requirements.txt file I have added

sphinx
sphinx-exercise

In the _config.yml file I have included the following

sphinx:
  config:
    mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
  extra_extensions:
    - sphinx_exercise

Finally, when I try to create an exercise, I write

:nonumber:
:class: dropdown

Text of the exercise

The result looks OK, but the icon is not what it should be. Instead of a pencil icon, I get a bell. Can anybody help get the right rendering of this directive?

0

There are 0 best solutions below