-
Notifications
You must be signed in to change notification settings - Fork 74
An md file, or notebook cell, ending in a blockquote with a blank line, causes a crash #185
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
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Full Sphinx error log: |
@facusapienza21 - note this - Lab 1 for S159 was causing this crash and it took me a while to track down the issue. Since it's a bug in markdown-it upstream, for now we can work around it by adding an extra blank line in cells that have block quotes, but I wanted you to be aware so you don't burn time on it... |
Also made some edits to block quotes to work around this bug in markdown-it-py: executablebooks/markdown-it-py#185
To clarify, I don't think this is an issue in upstream Javascript markdown-it, but rather a porting issue in markdown-it-py. I've fixed this in #186 |
Heya, yeh thanks, it is indeed a porting issue that I thought we had fully fixed already 😳. |
Thanks folks for the super-quick response! And yes @hukkin - I meant markdown-it-py, sorry for being imprecise in the js/py distinction :) I greatly appreciate the quick fix, we'll roll it out into our working image once it's part of the next release. |
cheers! |
Awesome - I hadn't noticed the 1181 fix, but that's much appreciated! |
It's been hanging around at this "level" for a while, just had to float its way up to jupyter-book lol |
Describe the bug
Consider a notebook that contains the following cell:
or a markdown file with the above. The key point is that the cell/markdown content must end with a blockquote that has a blank line at the end, still part of the block quote. The python short traceback is (I'll attach the long one):
Reproduce the bug
Running a build with a notebook with the above (or an md file) should suffice.
List your environment
The text was updated successfully, but these errors were encountered: