-
Notifications
You must be signed in to change notification settings - Fork 1
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
Markdown lists incorrectly formatted with checkboxes #14
Comments
Thanks for writing it up! Another part of it is that the Things looked normal with this image: public.ecr.aws/nasa-veda/nasa-veda-singleuser:2024-03-07 That change came in on this PR: 2i2c-org/infrastructure#3823 |
The problem seems to exist in the upstream What I did to verify this: Choose the Bring Your Own Image after logging into JupyterHub and entering
I guess I probably need to file this issue upstream? @wildintellect |
Going to drop notes here as I try and narrow this down - Going through the pangeo-notebook image tags and trying each one on the staging hub, I see this worked fine in Now doing a
There do seem to be some package updates there that could potentially be altering the markdown -> html generation, but I'll need to poke around the JupyterLab code a bit more to find exactly how the markdown -> html generation is being done, and then try and test locally and play around with package versions. If anyone has any clues or better ideas, please let me know 😂 - cc @yuvipanda @ranchodeluxe @abarciauskas-bgse |
@batpad looks like jupyter-book/jupyterlab-myst#224 :) |
Thanks @yuvipanda ! So that was a fun rabbit-hole. I have a PR up with a possible fix, but it's possible that this ideally needs a bit more involved fix: jupyter-book/jupyterlab-myst#228 Let's wait a day or two to see if it will be fixed soon upstream, and if not we can look at rolling back the version of |
The fix has been merged upstream! It may take a few more days for there to be a release up on PyPI - I'd recommend we just wait and then update our images when upstream has published the fix. @jsignell does that sound alright? |
That sounds great! Thanks for taking this one on! |
@jsignell unfortunately, the Headings getting repeated that you noticed turns out to be a separate issue, related to the same upstream update. I filed an issue for that here: jupyter-book/jupyterlab-myst#229 . It is quite specific in that it only affects Headings in the first cell of the notebook, and does not affect |
jupyterlab-myst 2.3.2 has been published to PyPI: https://pypi.org/project/jupyterlab-myst/ this should fix the list formatting issue (though not the issue with headings in the first cell). @jsignell @ranchodeluxe - do you know what best next steps are? Should we try and get the version updated in the |
Seems like the new version did not make it to the last @ranchodeluxe let's quickly chat about this tomorrow and you can tell me what to do :-) |
Pangeo seems to release almost weekly, I think we should do a PR to upstream. |
The issue with markdown lists being formatted with checkboxes should now be fixed. For the issue of headings showing up twice in the first cell of notebooks, we have an upstream issue: jupyter-book/jupyterlab-myst#229 - that one seems less severe and I think it's okay to just track upstream? @jsignell if you prefer we also track it here, happy to open a separate issue for that one - and thanks again for all your work identifying this and helping test the fix! |
Totally fine with me to just track upstream |
Steps to reproduce:
Login to https://staging.hub.openveda.cloud/ and start a new notebook.
Create a Markdown cell with the following content:
Expected behaviour: Get a normally formatted list (with bullets to denote list items)
Actual behaviour: List items all have check-boxes prepended to them.
A normal list should be formatted as a normal list and not have checkboxes.
This seems to be a recent regression / to do with recent updates. We are running JupyterLab v4.1.4 now - however, running the same version of JupyterLab locally, I was not able to reproduce, so this is not the version of JupyterLab.
Thanks to @jsignell for reporting.
I guess next steps here is probably:
This is definitely strange since it's not some conflicting CSS - the markdown formatter is creating
<input type="checkbox">
elements in the HTML, so some-how the Markdown formatter is producing wrong output. I'll need to dig a bit more to figure out what could possibly be causing this.cc @wildintellect
The text was updated successfully, but these errors were encountered: