Open ev-br opened 2 years ago
FYI one workaround is to bold a single line, like:
**First example**
...
**Second example**
...
It doesn't create anchors which is unfortunate, but it at least makes things that look a bit like headings, e.g.:
https://mne.tools/stable/generated/mne.decimate_surface.html
For a docstrings with several examples, it would be nice to be able to clearly separate them:
Just tried it and it seems to break the doc build:
To illustrate the origin: note the As a second example, we... transition in
http://scipy.github.io/devdocs/reference/generated/scipy.interpolate.RegularGridInterpolator.html#scipy.interpolate.RegularGridInterpolator
Not sure if it's even that good of an idea, or how difficult it is to implement.