-
Notifications
You must be signed in to change notification settings - Fork 568
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
Bullet list not getting properly generated in PDF #917
Comments
Trying adding an empty line before the list like:
|
I experienced this as well. Adding the empty line made it format better. It also affects the > in markdown, and even with this fix: now it's on its own line, but is the same as any paragraph (markdown has a grey bar on the indent). Its possible that's an inherent difference in normal markdown and latex's style, but any difference in the appearance (vs directly dowload as html->print to pdf) is undesirable to some degree |
This isn't PDF-specific. I'm using nbsphinx and it seems like the conversion to HTML (though rst?) has the same effect. Similarly it seems that the Python markdown package doesn't like lists starting without an empty line before. So it seems that there is a discrepancy between "Jupyter Markdown" and expectations of other tools. |
Note that this is an issue with pandoc, created an issue: jgm/pandoc#9079 |
I also experienced that on HTML output. It seems that pandoc has a setting to recognize bullet lists without a preceding blank line, maybe nbconvert should make use of it ? EDIT: Tested with that extension and it fixes the issue, I'll spin a PR next week |
Hello,
My jupyter notebook contains a markdown with a bullet list:
When I generate the PDF using
jupyter-nbconvert jn.ipynb --to pdf
, the result is:Is there are way for nbconvert to correctly generate a nice bullet list?
Thank you!
The text was updated successfully, but these errors were encountered: