jupyter / nbviewer

nbconvert as a web service: Render Jupyter Notebooks as static web pages
https://nbviewer.jupyter.org
Other
2.19k stars 544 forks source link

Markdown rendering of double supscripts in .ipynb file differs from .md file on github/nbviewer #1017

Open isalykke opened 1 year ago

isalykke commented 1 year ago

Describe the bug

  1. When I render a double subscript in an .md file (like here), it looks correct, like this: TabN2Ostald

  2. When I do the same in a markdown block in an .ipynb file, it does not render correctly on github/nbviewer: image

See the file here: https://github.com/segesdk/SAF_dokumentation/blob/main/N2O_Stald_Lager.ipynb

  1. Sidenote: the rendering of the .ipynb file in VS code is also correct: image

To Reproduce Type in this code - the last < /sub > is not rendered correctly (see 2. above) image

Expected behavior

I expect 2. to look like 1.

Desktop (please complete the following information):

Additional context I have also reported the issue here: https://github.com/jupyter/notebook/issues/6503