sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.16k stars 211 forks source link

inconsistent Markdown blockquote conversion to html #6601

Open vossrf opened 1 year ago

vossrf commented 1 year ago

A multiline blockquote in a Markdown cell, that displays correctly in the Jupyter notebook and in default conversion to html, is terminated at the 1st line break (not blank line) in nbconvert Classic or JupyterLab conversion to html. An example follows:

This is an example of a long blockquote that is terminated early in conversion to html:
> CoCalc's collaborative whiteboard and slides documents help you visualizing your ideas
on an infinite canvas or on finite slides for a presentation. 
Jupyter code cells make it possible to embed calculations and plots, write mathematics using LaTeX, and more.

This displays correctly in the Jupyter notebook:
but not in nbconvert Classic or Jupyterlab conversion to html:

williamstein commented 1 year ago

Thanks for telling us about this. Just to be clear, is this a bug in JupyterLab?

vossrf commented 1 year ago

It is only in the conversion to html using nbconvert Classic or nbconvert JupyterLab (both produce the same html for this Markdown cell). I am running Sagemath 9.8 kernel in the default CoCalc notebook.

vossrf commented 1 year ago

It should also be noted that the default conversion to html provides no indentation or left bar notation to distinguish a blockquote from normal text, although it does not add line breaks: