with that in place in my notebook I can create an admonition like so
````{admonition} using the custom class
:class: seealso custom
some minor comment that should show up with a smaller font
````
that renders under jbook as expected, i.e. like this (I have added another one without the custom class for comparison
however the same code produces 2 similarly-looking chunks when rendered under jlab
so at this point I wonder:
whether again it's a fair assumption on my end that both jlab and jbook should produce similar renderings
and if so how to achieve that in the specific case described above
additional notes
I am aware that loading styles from _static is not a feature of jlab implicitly, and so I have made sure that was loaded in my jlab browser
and for extra safety I have inspected the resulting html in jlab to make sure the custom class did not make it there, as opposed to the html output of jbook
Description
I am writing notebooks using MyST I am operating under the assumption that jlab and jbook should behave identically; is that a fair assumption ?
specifically I am trying to style admonitions a little further and have gone this way:
style.css
file stored under_static
style.html
that is kept in sync withstyle.css
except it has a wrapping<style>
tagstyle.html
from the notebookwith that in place in my notebook I can create an admonition like so
that renders under jbook as expected, i.e. like this (I have added another one without the
custom
class for comparisonhowever the same code produces 2 similarly-looking chunks when rendered under jlab
so at this point I wonder:
additional notes
I am aware that loading styles from
_static
is not a feature of jlab implicitly, and so I have made sure that was loaded in my jlab browser and for extra safety I have inspected the resulting html in jlab to make sure thecustom
class did not make it there, as opposed to the html output of jbook