Chris Holdgraf

Results 1768 comments of Chris Holdgraf

This is also possible in Jupyter Book (see here for example: https://jupyterbook.org/features/hiding.html#Hiding-page-elements-and-displaying-a-button-to-show-them) I've also got a little sphinx extension that collapses admonitions, the javascript to do so is here: https://github.com/choldgraf/sphinx-collapse-admonitions/blob/master/sphinx_collapse_admonitions/_static/collapse_admonitions.js...

Check out this in case it's helpful: https://github.com/choldgraf/sphinx-togglebutton I made it to try and replicate the Jupyter Book "collapse cell" behavior in an extensible way in Sphinx. Maybe that could...

All you should need to do is modify the selectors for the toggle buttons so that they map on to nbsphinx HTML structure, as described here: https://sphinx-togglebutton.readthedocs.io/en/latest/#control-the-selector-text-used-to-make-elements-toggle-able

Hmm just a quick thought, if the main thing you want to do is prevent the button on some pages, could you just a very short JavaScript snipped that checks...

Hey all - I think that this PR is an important improvement in the theme, and we don't want it to go unresolved indefinitely. Since we've already got a lot...

I think a relatively low hanging fruit could be to just add an event listener callback to our theme function to trigger some JS that manually sets the jupyterlab theme...

It seems like this blog post: https://getfishtank.ca/blog/how-to-use-bootstrap-3-with-requirejs suggests that you can load bootstrap using requirejs. This is maybe a heavy-weight option, but one idea is to either load RequireJS with...

re: syntax extension, I think it's just a question of the goals of the project. As you say, nbsphinx is trying to play it conservatively when it comes to introducing...

re: your points about JEPs - yep, I'd guess that this is where any broad markdown flavor extension would happen. It'll be easier to get community buy-in if there is...

> It looks like there are two orthogonal things mixed together in MyST-NB. (and to your broader points about the use-cases) I think you've generally got it right 👍 and...