greenape / mknotebooks

A plugin for mkdocs to help you include Jupyter notebooks in your projects
MIT License
136 stars 20 forks source link

Arrow (->) not rendered correctly in mknotebooks #1118

Open omri374 opened 4 months ago

omri374 commented 4 months ago

Hi, the following Python code:

def compare_dicom_images(
    instance_original: pydicom.dataset.FileDataset,
    instance_redacted: pydicom.dataset.FileDataset,
    figsize: tuple = (11, 11)
) -> None:

Is rendered this way: image

Is there any way to fix the rendering of ->?

omri374 commented 4 months ago

Update: I tried to convert the same notebook to html and markdown using nbconvert, and the results seem to render correctly.

greenape commented 4 months ago

I don't have very much time to maintain this lib alas, I'll try and take a look at some point but you might also want to try https://github.com/danielfrg/mkdocs-jupyter which is a bit more lively 🙂

RobinL commented 3 months ago

@omri374 we have had the same problem and have fixed it this way: https://github.com/moj-analytical-services/splink/pull/2033