-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support dropdown class attribute #32
Comments
Dropdown admonitions in JupyterLab would be great for teaching: in particular for Looking forward to them! Is there a timeline? Thanks in advance! |
@nthiery are you using The long-term plan for MyST support in JupyterLab is likely to become https://github.com/executablebooks/jupyterlab-mystjs. This is a MyST-first integration into JupyterLab, rather than an add-on renderer, which is what |
Yes indeed! Admonitions are very helpful to structure the text and catch the eye See e.g.: |
Thanks for the pointer to jupyterlab-mystjs! |
Feel free to install the Dropdown admonitions do work though! :) |
Ah ah, I tried jupyterlab-mystjs and dropdown indeed worked smoothly. I am |
I hope most things are fixed now with dropdowns now that the latest release has been brought together with #57. There is still a pass on styles that needs to be done relatively soon (e.g. with the toggle button not rotating). The dropdown is also html/css powered now, so you can also add other classes that respond to the Please reopen or comment if I have missed something in this issue! |
@rowanc1 looks good running in MyBinder to me... as you suggest, the arrow toggle is not there yet, but the essential dropdown functionality is:-) I just need to persuade folk I work with that we should now upgrade our markdown to myst! |
Describe the problem/need and solution
The
:class: dropdown
element does not appear to be supported within a special content (admonition) block.Are pure CSS solutions available to implement this sort of feature without then requiring any change to the HTML structure of the rendered cells other than changes to the class attribute?
Guide for implementation
No response
Tasks and updates
No response
The text was updated successfully, but these errors were encountered: