Skip to content
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

Callout - Rendering bug in JupyterLab markdown cell #8

Open
stefansimik opened this issue Jun 5, 2024 · 1 comment
Open

Callout - Rendering bug in JupyterLab markdown cell #8

stefansimik opened this issue Jun 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@stefansimik
Copy link

stefansimik commented Jun 5, 2024

Bug description

Callout has invalid rendering in JupyterLab markdown cell, when last character is space.

Steps to reproduce

This code causes invalid rendering - the point is the last space at the end of sentence = after "on their own.":

::: {.callout-note icon="tip"}
## Summary in one sentence
`Supervised learning` is a method of creating models where, during the training phase, the models see the correct target value in the data, which they then learn to predict on their own. 
:::

This is result in JupyterLab:

CleanShot 2024-06-05 at 13 14 34@2x

When the last space is removed, it works OK:

::: {.callout-note icon="tip"}
## Summary in one sentence
`Supervised learning` is a method of creating models where, during the training phase, the models see the correct target value in the data, which they then learn to predict on their own.
:::

CleanShot 2024-06-05 at 13 15 54@2x

Expected behavior

One space at the end should not cause rendering issue in JupyterLab.

Actual behavior

One space at the and of text causes invalid rendering in JupyterLab.

Your environment

MacOS Sonoma 14.5
JupyterLab: 4.2.0
JupyterLab extension: jupyterlab-quarto 0.3.3

Quarto check output

Quarto 1.4.551
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.551
      Path: /Users/stesim/Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Tex:  (not detected)

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.8 (Conda)
      Path: /opt/anaconda3/bin/python
      Jupyter: 5.5.0
      Kernels: skolenie, python3
    
[✓] Checking Jupyter engine render....OK
@stefansimik stefansimik added the bug Something isn't working label Jun 5, 2024
@stefansimik stefansimik changed the title Callout - Rendering bug in JupyterLab Callout - Rendering bug in JupyterLab markdown cell Jun 5, 2024
@cderv
Copy link

cderv commented Jun 5, 2024

This is an issue with the JupyterLab extension only so I'll move this there. Thanks for the report !

@cderv cderv transferred this issue from quarto-dev/quarto-cli Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants